Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange configure problem with RH7.2 install

Status
Not open for further replies.

scharley

Programmer
Jul 21, 2001
6
US
I'm trying to install PHP 4.2.1 on RH7.2 with support for MySQL 3.23.49a

I'm getting the following error when running configure:

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

The configure statement uses "--with-mysql=/usr" and the mysql library files are under /usr/lib/mysql. I have also added /usr/lib/mysql and /usr/lib to the ld.so.conf file and run ldconfig.

I found a cryptic posting on the web about broken libxslt libraries being the cause of this error but there was no explanation as to how it was fixed. I installed all the MySQL rpms (mysql, client, shared, devel) successfully and I was able to start and use the MySQL database with no problems.

Any ideas would be greatly appreciated. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top