Re: MySQL, Solaris 9 and DBD::mysql
Jochen Wiedmann <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
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
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/[email protected]