PHP RC2 doesn't find mysql if --prefix=/opt/mysql
| From: | Roberto Bertolusso | Date: | Sat, 13 May 2000 19:06:00 +0000 |
| Subject: | PHP RC2 doesn't find mysql if --prefix=/opt/mysql | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18710@lists.php.net to get a copy of this message | ||
Linux System. RedHat 6.2
If You install mysql in a directory different than the default (in my
case /opt/mysql) when you try to start apachectl it doesn't start and it
puts the message:
Syntax error on line xxx of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/libphp4.so into server:
libmysqlclient.so.6 cannot open shared object file: No such file or
directory
I ran ./configure --with-mysql=/opt/mysql
If i recompile mysql withouth --prefix and then ./configure --with-mysql
it works
This problem exists from RC1 and RC2 . b4pl1 works fine.