Re: 4.0.2 Problem Compiling
| From: | Rasmus Lerdorf | Date: | Wed, 13 Sep 2000 15:04:31 +0000 |
| Subject: | Re: 4.0.2 Problem Compiling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16620@lists.php.net to get a copy of this message | ||
On Wed, 13 Sep 2000, Kelly O'Hoy wrote:
> I've tried to compile PHP 4.0.2 with the following command:
>
> ./configure --with-mysql=/usr/local/mysql \
> --with-apxs=/usr/local/httpd/bin/apxs \
> --with-gettext --enable-track-vars \
> --with-gd --with-imap=/usr/local/imap
>
> but it returnedand error (as follow):
>
> # apachectl start
> Syntax error on line 208 of /usr/local/httpd/conf/httpd.conf:
> Cannot load /usr/local/httpd/libexec/libphp4.so into server: libmysqlclient.so.9: cannot open
> shared object file: No such file or directory
> /usr/bin/apachectl start: httpd could not be started
>
> What has happened?
You didn't finish installing MySQL correctly. Edit your /etc/ld.so.conf
file and add the directory where your libmysqlclient.so.9 file is located
to that file and then run ldconfig
-Rasmus