MySQL Forums
Forum List  »  Perl

Re: perl DBD installation: can't load mysql.so
Posted by: Yuval
Date: June 13, 2006 10:13PM

I had a similar problem. The perl MakeFile.PL, make, make test, make install worked but not any script i ran. When I added the mysql lib directory (/usr/local/mysql/lib/mysql in my case, it's the one that has libmysqlclient.so)to my (the user executing the perl scropt) $LD_LIBRARY_PATH environment variable and exported it, that error message went away and the DBD::mysql module was available.

Options: ReplyQuote


Subject
Written By
Posted
Re: perl DBD installation: can't load mysql.so
June 13, 2006 10:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.