If you are on Linux you need to add the directory that libmysqlclient.so
is in to /etc/ld.so.conf and run ldconfig
-Rasmus
On Thu, 22 Mar 2001, Greg McClure wrote:
> Folks,
>
> Last night I was determined to install a completely dynamic Apache with
> PHP as a DSO. I got Apache 1.3.19, grabbed PHP 4.0.4pl1 and set to work.
>
> Apache compiled just fine with:
>
> ./configure --enable-module=most --enable-module=so --enable-shared=max
> make
> make install
>
> Happy joy. Apache installed, started, life was good, love was real, the
> world was new again. Now began the fun.
>
> Switching to the PHP install directory, I did:
>
> ./configure --with-mysql=/usr/local/mysql \
> --with-apxs=/usr/local/apache/bin/apxs \
> --with-config-file-path=/usr/local/apache/conf/php \
> --with-gd \
> --with-gdbm \
> --with-ldap=/usr/local/ldap \
> --enable-ftp \
> --enable-magic-quotes
>
> make
> make install
>
> This installed the libphp4.so in /apache/libexec and I uncommented the
> LoadModule and added the php type to the Apache httpd.conf
> file. Restarting Apache however yields this error:
>
> Cannot load /usr/local/apache/libexec/libphp4.so into
> server: libmysqlclient.so.6: cannot open shared object file: No such file
> or directory
>
> Well, I'm stuck. In fact, there is such a library under the path where I
> told PHP MySQL would be. So why isn't PHP finding it? Can anyone help? I'm
> really desperate for a solution.
>
> Thanks in advance for any advice,
> GM
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]