1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

libmysqlclient and Plesk

Discussion in 'Plesk for Linux - 8.x and Older' started by jeff205, Nov 17, 2005.

  1. jeff205

    jeff205 Guest

    0
     
    Hello,

    I tried to install libmysqlclient but without success
    from these packages
    -rw-r--r-- 1 root root 14556 Oct 20 2004 libdbi-dbd-mysql-0.6.5-9.i386.rpm
    -rw-r--r-- 1 root root 541478 Oct 20 2004 mysql-bench-3.23.58-13.i386.rpm
    -rw-r--r-- 1 root root 579312 Oct 20 2004 mysql-devel-3.23.58-13.i386.rpm



    checking for floor in -lm... yes
    checking for gzclose in -lz... yes
    checking for mysql_init in -lmysqlclient... no
    configure: error: libmysqlclient is needed for MySQL support

    seems mysql have some special instalation from plesk and I'm afraid to update mysql, I think I will crash the server.
    How can i install this library ?
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
  3. jeff205

    jeff205 Guest

    0
     
    Thanks for your reply.
    I'm running Fedora core 3 + Plesk 7.5.4
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    ART has packages for your distribution. Check it out.
     
  5. sydan

    sydan Guest

    0
     
    easy mysqlclient solution

    To compile php mysql-devel rpm is needed.

    ART repositories are nice, but can't help if there's a need for custom php. I had probably a similar problem than jeff205. I tried to compile php, but altough mysql 4.1 path was set "correctly", configure always failed. After a few hours I was pretty frustrated to this:

    A problem is there no way to tell php configure script where is mysql, bcoz in some distros there's two "right" paths to mysql. But it's easy to skip this bug by creating symlinks like explained here:
    http://forum.ev1servers.net/showpost.php?p=344138&postcount=6
     
Loading...