MySQL Forums
Forum List  »  Perl

Re: problems installing DBD::mysql
Posted by: Kevin Wagner
Date: May 05, 2010 06:26AM

Hi Florian,

I was having a problem with 'make test' but it looks similar. There was another post in the forum with the 'make test' problem but it is closed - apparently with no resolution - so I can not respond to it.

I fixed mine by adding the following to my .bash_profile (you can do it on the command line as well):
----
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/mybase/mysql/lib
export LD_LIBRARY_PATH
----

Change /mybase/mysql/lib to wherever your libmysqlclient.so.16 is located. I tried many other things prior to this but am 99% sure this is what did it.

It looks like the make from DBD can not find the libraries - even with a soft link? It may be due to libraries form some loads residing in lib/mysql rather than mysql/lib.

Anyway, this worked for me - Good luck.

Options: ReplyQuote


Subject
Written By
Posted
Re: problems installing DBD::mysql
May 05, 2010 06:26AM


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.