mysql_config resolved, now libmysqlclient incompatible

mysql_config resolved, now libmysqlclient incompatible

am 08.08.2006 19:10:13 von zhihua li

Hi netters,

Thanks a lot for all your helpful suggestions to my previous poster on the
problem of finding and executing the mysql_config file. Now I've resolved
the problem by correctly setting the $PATH envrioment. Thank you very much!

But now another problem arised. While Makefile passed smoothly, when I ran
make, an error message alwayse poped out:

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-su se-linux/bin/ld:
skipping incompatible /home/zhli/mysql/lib/libmysqlclient.a when searching
for -lmysqlclient
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-su se-linux/bin/ld:
cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1

I followed the DBD::mysql installation instructions to copy the
libmysqlclient.a into another directory and run Makefile.PL with a swich
--libs="-L/", but the error message is still there.

could anyone give me further help? Thanks in advance!



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org