PureFTP "Your MySQL client libraries aren't properly installed"

Discussion in 'Server Operation' started by CarbonCopy, May 16, 2010.

  1. CarbonCopy

    CarbonCopy New Member

    I'm trying to install PureFTP which normally installs without a problem and I keep getting errors. I installed MySQL to /opt/mysql from source and I'm using this command to setup PureFTP

    Code:
    ./configure --with-mysql=/opt/mysql
    
    and I get this output

    Code:
    checking for mysql_init in -lmysqlclient... yes
    checking whether mysql clients can run... no
    configure: error: Your MySQL client libraries aren't properly installed
    
    I've tried symlinking my library files to /usr/lib, /usr/lib/mysql and /opt/mysql/lib (they are in /opt/mysql/lib/mysql). I've had no luck.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you try
    Code:
    ./configure --with-mysql=/opt
    instead?
     
  3. CarbonCopy

    CarbonCopy New Member

    Exact same error :(

    ls -la /opt/mysql/lib/mysql

    Code:
    -rw-r--r-- 1 root root   10666 May 16 07:32 libdbug.a
    -rw-r--r-- 1 root root  737114 May 16 07:32 libheap.a
    -rw-r--r-- 1 root root 3356062 May 16 07:32 libmyisam.a
    -rw-r--r-- 1 root root 1075498 May 16 07:32 libmyisammrg.a
    -rw-r--r-- 1 root root 3697620 May 16 07:32 libmysqlclient.a
    -rwxr-xr-x 1 root root    1080 May 16 07:32 libmysqlclient.la
    -rw-r--r-- 1 root root 3745678 May 16 07:32 libmysqlclient_r.a
    -rwxr-xr-x 1 root root    1134 May 16 07:32 libmysqlclient_r.la
    lrwxrwxrwx 1 root root      26 May 16 07:32 libmysqlclient_r.so -> libmysqlclient_r.so.16.0.0
    lrwxrwxrwx 1 root root      26 May 16 07:32 libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0
    -rwxr-xr-x 1 root root 2138302 May 16 07:32 libmysqlclient_r.so.16.0.0
    lrwxrwxrwx 1 root root      24 May 16 07:32 libmysqlclient.so -> libmysqlclient.so.16.0.0
    lrwxrwxrwx 1 root root      24 May 16 07:32 libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
    -rwxr-xr-x 1 root root 2111094 May 16 07:32 libmysqlclient.so.16.0.0
    -rw-r--r-- 1 root root 1009442 May 16 07:32 libmystrings.a
    -rw-r--r-- 1 root root 1767552 May 16 07:32 libmysys.a
    -rw-r--r-- 1 root root   76106 May 16 07:32 libvio.a
    drwxr-xr-x 2 root root    4096 May 16 07:32 plugin
    
     
  4. CarbonCopy

    CarbonCopy New Member

    Could this be a possible error caused by a 64 bit os? Maybe incompatibilities in the library files, if so, on which program's side? Since they are both compiled from source I doubt this is an issue
     
  5. CarbonCopy

    CarbonCopy New Member

    I installed postfix and tried using that instead and I get the same error for Postgresql. What is going on here?

    Fixed it. All I had to do was copy the files to /usr/lib64

    Code:
    cp /opt/mysql/lib/mysql/* /usr/lib64
     
    Last edited: May 17, 2010

Share This Page