Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
Replies are listed 'Best First'.
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 having an uproarious good time at the Monastery: (10)
As of 2015-07-31 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls