-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi [please keep your replies on-list] I tried to get some more details. config.log shows for the problematic step: [...] configure:13560: checking for mysql_init in -lmysqlclient configure:13583: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe - -I/usr/include/mysql -Wl,-O1 -Wl,--as-needed -rdynamic conftest.c - -lmysqlclient -pthread >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status configure:13583: $? = 1 configure: failed program was: | /* confdefs.h */ [...] | #define HAVE_ERRMSG_H 1 | /* end confdefs.h. */ | | #include <stdlib.h> | #include <mysql.h> | | int | main () | { | | MYSQL *mysql = mysql_init(NULL); | mysql_close(mysql); | | ; | return 0; | } configure:13591: result: no configure:13678: error: Required version of libmysqlclient not found The weird thing is that mysql.h for both 5.1.70 and 5.5.32 define mysql_init in mysql.h, and both libmysqlclient.{a,so} files seem to contain a mysql_init reference (according to strings). I'm really sure where to look any further. I can reproduce but I've no idea why it's failing... Regards, Tom On 08-11-13 12:56, Guillaume Hilt wrote: > I put everything here : > http://forums.gentoo.org/viewtopic-p-7432926.html#7432926 > > > Guillaume Hilt > > Le 08/11/2013 12:46, Tom Hendrikx a écrit : >> On 11/08/2013 10:05 AM, Guillaume Hilt wrote: >>> Hello, >>> >>> I recently upgraded from MySQL 5.1.70 to 5.5.32 (on Gentoo >>> AMD64 up-to-date). As Dspam still use the old mysql library, >>> i'm trying to re-emerge it : >>> >>> !!! existing preserved libs: >>>>>> package: dev-db/mysql-5.5.32 >>> * - /usr/lib64/libmysqlclient.so.16 * - >>> /usr/lib64/mysql/libmysqlclient.so.16 * - >>> /usr/lib64/mysql/libmysqlclient.so.16.0.0 * used by >>> /usr/lib64/dspam/libmysql_drv.so.7.0.0 >>> (mail-filter/dspam-3.10.2 >>> >>> But it fails with this error : configure: error: Required >>> version of libmysqlclient not found >>> >> Could you post more output from the failing build? Something like >> the last 30 lines before this error occurs? this should nbe >> available in the build.log, or in stdout when you use 'emerge -v >> dspam'. >> >>> $ emerge -pqv '=mail-filter/dspam-3.10.2-r1::gentoo' [ebuild >>> R ] mail-filter/dspam-3.10.2-r1 USE="clamav daemon >>> domain-scale mysql syslog virtual-users -debug -hash >>> -large-scale -ldap -postgres -small-scale -sqlite -static-libs >>> -user-homedirs" >>> >>> $ locate libmysqlclient /usr/lib64/libmysqlclient.so.16 >>> /usr/lib64/mysql/libmysqlclient.a >>> /usr/lib64/mysql/libmysqlclient.so >>> /usr/lib64/mysql/libmysqlclient.so.16 >>> /usr/lib64/mysql/libmysqlclient.so.16.0.0 >>> /usr/lib64/mysql/libmysqlclient.so.18 >>> /usr/lib64/mysql/libmysqlclient.so.18.0.0 >>> /usr/lib64/mysql/libmysqlclient_r.a >>> /usr/lib64/mysql/libmysqlclient_r.so >>> /usr/lib64/mysql/libmysqlclient_r.so.18 >>> /usr/lib64/mysql/libmysqlclient_r.so.18.0.0 >>> >>> >>> $ ls /usr/lib64/mysql/libmysql* -rw-r--r-- 1 root root 3,5M 9 >>> sept. 13:02 libmysqlclient.a lrwxrwxrwx 1 root root 16 9 >>> sept. 13:02 libmysqlclient_r.a -> libmysqlclient.a lrwxrwxrwx 1 >>> root root 17 9 sept. 13:02 libmysqlclient_r.so -> >>> libmysqlclient.so lrwxrwxrwx 1 root root 17 9 sept. 13:02 >>> libmysqlclient_r.so.18 -> libmysqlclient.so lrwxrwxrwx 1 root >>> root 17 9 sept. 13:02 libmysqlclient_r.so.18.0.0 -> >>> libmysqlclient.so lrwxrwxrwx 1 root root 20 9 sept. 13:02 >>> libmysqlclient.so -> libmysqlclient.so.18 lrwxrwxrwx 1 root >>> root 24 2 juil. 14:12 libmysqlclient.so.16 -> >>> libmysqlclient.so.16.0.0 -rwxr-xr-x 1 root root 1,6M 2 juil. >>> 14:12 libmysqlclient.so.16.0.0 lrwxrwxrwx 1 root root 24 9 >>> sept. 13:02 libmysqlclient.so.18 -> libmysqlclient.so.18.0.0 >>> -rwxr-xr-x 1 root root 2,9M 9 sept. 13:02 >>> libmysqlclient.so.18.0.0 -rw-r--r-- 1 root root 4,4K 9 sept. >>> 13:02 libmysqlservices.a >>> >>> >>> $ ls /usr/lib64/libmysql* lrwxrwxrwx 1 root root 30 2 juil. >>> 14:12 libmysqlclient.so.16 -> mysql/libmysqlclient.so.16.0.0 >>> >>> I already tried to ask on Gentoo reply but no luck so far. >>> >>> Any idea ? >>> >>> Thanks, >>> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> November Webinars for C, C++, Fortran Developers >> Accelerate application performance with scalable programming >> models. Explore techniques for threading, error checking, >> porting, and tuning. Get the most from the latest Intel >> processors and coprocessors. See abstracts and register >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> >> >> >> >> _______________________________________________ >> Dspam-user mailing list Dspam-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspam-user > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSfn98AAoJEJPfMZ19VO/1NlcP/0AmKFsitcQtrcucLAuEPX6d 1GLDPoo5UOGCaLBxWKDDr46b4/s70YQgdD4njPgfztSBW9SkB7AqKtZTU23rbZLZ zbt5sFMxp8VSw8ZDLR7OHJC4jh5MBO5PTQWQ9axh0r59zSq9w1Q42kwSlbw4Mcvx jCdBs2ODO/tKjHRNRIQ2EBfye/SQtiEXSVquFcuq9bwhGnNx8GozrcyguMVP7C3i Y1xq4KpGfisdeBSxBFYWrjA0hbajUIkkLCZryKb7iN26ixFbxEWqzFO3Ta8N9Rbl 0nVCUuYHnySzgqAt+NzJZ024qQ1h+MfFABoyYmms16SEpOKb34SX9wvDnsqk2I5M 8wrgflzX9K6PWjzg36ch9/MMizM+RajpMID2rqJ98/UYyVt4AvVVbsbQfp5y1fkf BZz/ZH5A5g5xe8H3PlPFlLBYmyA/5Le186LYhTThUn5sq33s0bs+Q7pFTDwJ2nfi cWk7stwpAwcDzOGOLBjhhVKaak6tww4SvxEW3W9JhIhzCfLa4NQVp37iGbI7UbaA nYid8fasChMsKkaUwRmXeOtBzfFf+kN42i/RZU48PxfajCAqlycJ+BQQxHbz9Sd6 N99t1TualD1cS367FUkB3E6sArs+TdOdG+JWa09TXzA0TR03FETtDDvTMX0IXxZ1 44ie44MrGj+u1fu6JGdH =Eh+8 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user