Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: DBD::mysql error

by Anonymous Monk
on Mar 25, 2011 at 00:18 UTC ( #895369=note: print w/ replies, xml ) Need Help??


in reply to DBD::mysql error

undefined symbol mysql_init
Run
ldd /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DB +D/mysql/mysql.so


Comment on Re: DBD::mysql error
Download Code
Re^2: DBD::mysql error
by liony301 (Novice) on Mar 25, 2011 at 00:40 UTC
    Thanks for quick response.
    Result looks same ever after doing ldd.
    ldd /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DB +D/mysql/mysql.so libc.so.6 => /lib64/libc.so.6 (0x00002afc8fd02000) /lib64/ld-linux-x86-64.so.2 (0x000000310be00000) perl perl_mysql.pl perl: symbol lookup error: /usr/lib64/perl5/site_perl/5.8.8/x86_64-lin +ux-thread-multi/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init
      ldd doesn't fix anything, it shows you the problem, which is DBD/mysql/mysql.so isn't linked to any libmysql64.so or the like, mysql_init is defined in libmysql

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-10-02 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (65 votes), past polls