MySQL Forums
Forum List  »  Perl

Re: DBI/DBD issues - Problem with the installation
Posted by: Ferdi Ladeira
Date: September 17, 2007 07:41AM

Amit - you need to compile using static libraries.

Copy the MySQL static libraries to a known location,
e.g. cp /usr/local/mysql/lib/*.a /tmp/mysql-staticlib
then change your perl makeline as follows:

perl Makefile.PL --libs="-L/tmp/mysql-staticlib -lmysqlclient"

This creates a makefile which statically links in the MySQL libs and you should get it going then.

I never managed to get the dynamically linked libraries to work, so I use the static linked libraries

Ferdi

Options: ReplyQuote


Subject
Written By
Posted
Re: DBI/DBD issues - Problem with the installation
September 17, 2007 07:41AM


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.