• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

libmysqlclient and Plesk

J

jeff205

Guest
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 ?
 
Thanks for your reply.
I'm running Fedora core 3 + Plesk 7.5.4
 
easy mysqlclient solution

How can i install this library ?

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:

checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

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
 
Back
Top