Shared object "libpq.so.2" not found with PHP4.0.4pl1 and Apache 1.3
| From: | Johan Bitsch Nielsen | Date: | Sat, 13 Jan 2001 17:34:05 +0000 |
| Subject: | Shared object "libpq.so.2" not found with PHP4.0.4pl1 and Apache 1.3 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1595@lists.php.net to get a copy of this message | ||
I managed to succesfully build a libphp4.so shared library to load in
httpd.conf.
When I restart Apache and request a page, the server responds with:
"Internal Server Configuration Error
Syntax error on line 40 of /usr/local/etc/httpd/conf/httpd.conf: Cannot load
/usr/local/etc/httpd/modules/libphp4.so into server: Shared object
"libpq.so.2" not found"
Where do I find libpq.so.2? Am I missing something here?
Any help appreciated!
- Johan -
I use this directive in httpd.conf:
LoadModule php4_module modules/libphp4.so
I used this configure command:
./configure --enable-track-vars --with-imap=/usr/home/bitsch/tmp/imap-2000a/
c-client --with-mysql --with-apxs=/usr/local/apache/1.3/bin/apxs --with-conf
ig-file-path=/usr/home/bitsch/usr/local/etc/httpd/conf --with-system-regex -
-disable-debug --enable-trans-sid --enable-versioning --with-ttf --enable-ft
p --with-gd=/usr/local --with-pgsql=/usr/home/bitsch/usr/local/pgsql --enabl
e-sockets