HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=21)
-   -   Mydns Make error - cannot find -lmysqlclient (http://www.howtoforge.com/forums/showthread.php?t=53246)

greystar 28th June 2011 14:08

Mydns Make error - cannot find -lmysqlclient
 
hi,
i'm running centos 5.6 64bit. when i try to install mydns, "configure" works fine but "make" fails with this:
Code:

/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[3]: *** [mydns] Error 1
make[3]: Leaving directory `/root/mydns-1.1.0/src/mydns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mydns-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mydns-1.1.0'
make: *** [all] Error 2

any ideas how i can fix, i'm stumped :(

thanks

grey

markhawke7 13th September 2011 19:15

Yes I ran into the same thing last night. In the end, I switched over to Debian Squeeze and followed these directions:
http://www.howtoforge.com/installing...debian-squeeze

That went very well. However, my suspicion that it might have been related to attempting the configure/compile on a 64 bit os and a confusion over the 64bit vs 32bit mydnsclient shared libraries. I have downloaded the 32 bit version of CentOS 5.6 and will give that a try in the next few days. I have a feeling that it may go better with the 32 bit version of CentOS. But that is just a guess.

-Mark


All times are GMT +2. The time now is 18:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.