mysql_config resolved, now libmysqlclient incompatible
"zhihua li" <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
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-suse-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-suse-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/<my directory>", 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/[email protected]