Mydns Make error - cannot find -lmysqlclient

Discussion in 'General' started by greystar, Jun 28, 2011.

  1. greystar

    greystar New Member

    i'm running centos 5.6 64bit. when i try to install mydns, "configure" works fine but "make" fails with this:
    /usr/bin/ld: skipping incompatible /usr/lib/mysql/ 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 :(


  2. markhawke7

    markhawke7 New Member

    Yes I ran into the same thing last night. In the end, I switched over to Debian Squeeze and followed these directions:

    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.


Share This Page