PHP 4.0 Bug #7192: Non-working Sablotron in 4.0.3, DL_UNLOAD problems
| From: | ljb at devco dot net | Date: | Fri, 13 Oct 2000 17:38:42 +0000 |
| Subject: | PHP 4.0 Bug #7192: Non-working Sablotron in 4.0.3, DL_UNLOAD problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34941@lists.php.net to get a copy of this message | ||
From: ljb@devco.net
Operating system: Solaris 7
PHP version: 4.0.3
PHP Bug Type: Dynamic loading
Bug description: Non-working Sablotron in 4.0.3, DL_UNLOAD problems
Hi.
I've had quite a few problems getting PHP 4.0.3 and sablot going at the same time on Solaris,
using gcc 2.95.2.
My configure line:
./configure --enable-track-vars --with-apxs=/opt/apache-1.3.12/bin/apxs --enable-xml --without-mysql
--enable-debug --with-sablot
Sablotron I downloaded and compiled from source (0.44),
with its builtin Expat, and installed it in /usr/local.
First problem was DL_UNLOAD reference, which I solved by putting
#define HAVE_LIBDL 1 in php_config.h
Second was this, when trying to start Apache:
Cannot load /opt/apache-1.3.12/libexec/libphp4.so into server: ld.so.1:
/opt/apache-1.3.12/bin/httpd: fatal: relocation error: file /usr/local/lib/libsablot.so.0: symbol
__builtin_new: referenced symbol not found
I suspected this was because libsablot.so.1 was not linked against the stdc++ library. But
statically linking in stdc++ did not solve the problem.
Any ideas?
I'm not subscribed to the list, please CC me on replies.
Leon.
--
Edit Bug report at: http://bugs.php.net/?id=7192&edit=1