Sakshale eQuorian wrote:
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