Bug #13180: Unresolved Symbols in libphp4.sl when compiling with PostgreSQL support
| From: | macan at colband dot com dot br | Date: | Thu, 06 Sep 2001 16:25:40 +0000 |
| Subject: | Bug #13180: Unresolved Symbols in libphp4.sl when compiling with PostgreSQL support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65265@lists.php.net to get a copy of this message | ||
From: macan@colband.com.br
Operating system: hp-ux 11
PHP version: 4.0.6
PHP Bug Type: PostgreSQL related
Bug description: Unresolved Symbols in libphp4.sl when compiling with PostgreSQL support
I was able to compile php without database support
and it worked fine for hp-ux 11, now I am trying to
make it use my PostgreSQL database, I gave the following
options to the configure script:
./configure --without-mysql --with-pgsql
--with-apxs=/usr/local/apache-1.3.20/bin/apxs
PostgreSQL 7.1.3 is installed in the default
location /usr/local/pgsql
Make and make install go without problems until we
have to restart apache, when we are presented with:
/usr/lib/dld.sl: Unresolved symbol: PQuntrace (code) from
/usr/local/apache-1.3.20/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: PQgetvalue (code) from
/usr/local/apache-1.3.20/libexec/libphp4.so
... <a lot of errors caused by symbols from libpq intentionally
deleted>...
Cannot load /usr/local/apache-1.3.20/libexec/libphp4.so into server:
Unresolved
All the unresolved symbols appear to come from libpq.sl
libtool presents us with this warning during compilation:
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
--
Edit bug report at: http://bugs.php.net/?id=13180&edit=1