4 messages in com.mysql.lists.perlRe: MySQL, Solaris 9 and DBD::mysql
FromSent OnAttachments
Sakshale eQuorian08 Dec 2004 11:36 
Jochen Wiedmann08 Dec 2004 13:23 
Sakshale eQuorian08 Dec 2004 14:20 
Jochen Wiedmann08 Dec 2004 23:43 
Subject:Re: MySQL, Solaris 9 and DBD::mysql
From:Jochen Wiedmann (joch@gmail.com)
Date:12/08/2004 01:23:15 PM
List:com.mysql.lists.perl

Sakshale eQuorian wrote:

Ref: http://forums.mysql.com/read.php?11,7767,7767#msg-7767

Your problem is most probably related to the use of shared libraries (libmysqlclient.so). Try using static libraries as follows:

- Create a new, empty directory. I assume /tmp/mysql-static. - Copy the shared libraries (libmysqlclient.a, and perhaps others) to that directory - Use the "perl Makefile.PL" switch --libs for overriding "myqsl_config --libs". (You need the same flags, but replace the default lib directory with your new directory. In your case, this might be

perl Makefile.PL --libs=" -L/tmp/mysql-static -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -lz"

Jochen