DSO Problem -- Ouch

From: Date: Thu, 22 Mar 2001 19:34:32 +0000
Subject: DSO Problem -- Ouch
Groups: php.install 
Request: Send a blank email to php-install+get-2554@lists.php.net to get a copy of this message
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

« previous php.install (#2554) next »