Jochen Wiedmann wrote:
Quoting Marc Delisle <deli...@CollegeSherbrooke.qc.ca>:
So I read the doc :) and found a suggestion to link statically
libmysqlclient.a,
but I cannot find the right syntax with "perl Makefile.PL" to link
statically
my libmysqlclient.a which is in /root/marc.
Should be --libs="/root/marc/libmysqlclient.a"
Thanks Jochen.
My libmysqlclient.a is there:
/root/ftp/marc/perl/lib/mysql/libmysqlclient.a
So with DBD-mysql-2.1025 I tried this (on the same line)
perl Makefile.PL --testdb=xxx
--testuser=xxx
--testpassword=xxx
--testhost=xx
--cflags=-I/root/ftp/marc/perl/include/mysql
--libs="/root/ftp/marc/perl/lib/mysql/libmysqlclient.a"
and got:
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
...
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored:
'/root/ftp/marc/perl/lib/mysql/libmysqlclient.a'
Using DBI 1.32 installed in /usr/lib/perl5/site_perl/i386-linux/auto/DBI