Apache 1.3.20 cannot load shared MySQL libs for PHP
| From: | Derek Steinkamp | Date: | Mon, 02 Jul 2001 03:18:55 +0000 |
| Subject: | Apache 1.3.20 cannot load shared MySQL libs for PHP | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3396@lists.php.net to get a copy of this message | ||
Hi,
I am running FreeBSD 4.3-RELEASE, and am attempting to compile MySQL
3.23.39, Apache 1.3.20, and PHP 4.0.6 from scratch. All of them compile
successfully, and here is how I configured all of them:
MySQL - standard ./configure && make && make install....no special
options specified: installed in /usr/local
Apache - ./configure --prefix=/usr/local/apache --enable-module=so
PHP - ./configure --with-mysql=/usr/local/
--with-apxs=/usr/local/apache/bin/apxs
toucan# cd /usr/local/lib/mysql
toucan# ls
libdbug.a
libheap.a
libmerge.a
libmyisam.a
libmysqlclient.a
libmysqlclient.la
libmysqlclient.so
libmysqlclient.so.10
libmystrings.a
libnisam.a
toucan# cat /etc/ld.so.conf
/usr/local/lib/mysql
I have run /sbin/ldconfig, done a 'make clean' on php, and reinstalled
it with the same options, however, the following error continues to
haunt me:
toucan# ./apachectl start
Syntax error on line 205 of /www/Apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Shared
object "libmysqlclient.so.10" not found
./apachectl start: httpd could not be started
This is driving me crazy. I have uninstalled everything, and redone it
again with the same results. I am baffled, and others I have talked to
are baffled too. I am about to cry with defeat.... can anyone help me?
ANY help appreciated, whether it be software support or moral support,
LOL.
Thanks in advance,
Derek Steinkamp