/usr/lib/dld.sl: Unresolved symbol
- From: samwyse <samwyse@xxxxxxxxx>
- Date: Tue, 8 Jul 2008 12:36:48 -0700 (PDT)
I am trying to port a Perl script that uses a MySQL database to an HP-
UX server. I've installed Perl (v5.6.1 built for PA-RISC2.0), and
MySql (Server version: 5.0.51a MySQL Community Server (GPL)). I've
also installed the Perl module DBD-mysql-4.007. When the script tries
to connect to the database (DBI->connect($DSN, $DBUSER, $DBPW)), I get
this output:
/usr/lib/dld.sl: Unresolved symbol: mysql_init (code) from /opt/
perlmod/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBD/mysql/mysql.sl
Googling, I find lots of people running lots of scripts (not just
Perl) who get similar messages for lots of different symbols, but I
can't find a solution that works. I've already tried setting both
LD_LIBRARY_PATH=/opt/mysql/lib and LD_PRELOAD=/opt/mysql/lib, to no
avail. Running /opt/mysql/bin/mysql works, even without those being
set.
Can anyone help? Thanks!
P.S. Running uname -a returns this:
HP-UX hqhpubu8 B.11.11 U 9000/800 1563736587 unlimited-user license
.
- Follow-Ups:
- Re: /usr/lib/dld.sl: Unresolved symbol
- From: Dennis Handly
- Re: /usr/lib/dld.sl: Unresolved symbol
- Prev by Date: Re: Off Topic - HP B132L Hardware Used
- Next by Date: Re: Off Topic - HP B132L Hardware Used
- Previous by thread: VG mirroring
- Next by thread: Re: /usr/lib/dld.sl: Unresolved symbol
- Index(es):
Relevant Pages
|