errors during custom build

xcobaltdude

Verified User
Joined
Aug 25, 2004
Messages
24
In preparing to update Exim from 4.50 to 4.54, I read the forum and found that I would need to update OpenSSL from 0.9.7a to 0.9.8, which was accomplished. Prior to updating Exim, I decided to run the DA customapache update and discovered that I needed a few updates on other packages, mainly Apache (from 1.3.31 to 1.3.33 and PHP from 4.3.8 to 4.3.11).

During the build, errors were encountered for PHP. I then edited the configure.php file to troubleshoot and found that php would not compile if "--with-axps" and "--with-mysql=/usr \" were listed.
Here is an excerpt from the compile:
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 config log shows the following errors concerning mysql:
/usr/bin/ld: warning: libz.so.2, needed by /usr/lib/mysql/libmysqlclient.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcrypt.so.2, needed by /usr/lib/mysql/libmysqlclient.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libm.so.2, needed by /usr/lib/mysql/libmysqlclient.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libc.so.4, needed by /usr/lib/mysql/libmysqlclient.so, not found (try using -rpath or -rpath-link)

The files listed (libz.so.2,libcrypt.so.2,libm.so.2,libc.so.4) do not exist on this server (RHEL3) so that is obviously one cause of the problem.

I also noticed that on the 1st page of the DA control panel, certain images (for the main menu) no longer appear and cause the entire page to look helter-skelter. I do not know if this is related to the above problem or not.

I have restarted virtually every service to no avail, and now am asking for suggestions.

The box is RHEL3 with:
DA=1.251
Apache=1.3.33
Php=4.3.11
MySQL=4.0.24
OpenSSL=0.9.8

Thx.....


UPDATE:
Had to remove anything concerning openssl 0.9.8, re-installed openssl 0.9.7a, did a build with apache 1.3.31 and php4.3.8....everything seems to work once again, but still cannot get php to compile with the mysql switch in the config file. And I now have no hair left at all.

Anyone have an idea why mysql won't compile in with php?????
 
Last edited:
Back
Top