PHP 4.0 Bug #7192 Updated: Non-working Sablotron in 4.0.3, DL_UNLOAD problems
| From: | ljb at devco dot net | Date: | Wed, 03 Jan 2001 17:23:01 +0000 |
| Subject: | PHP 4.0 Bug #7192 Updated: Non-working Sablotron in 4.0.3, DL_UNLOAD problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42855@lists.php.net to get a copy of this message | ||
ID: 7192
User Update by: ljb@devco.net
Status: Open
Bug Type: Dynamic loading
Description: Non-working Sablotron in 4.0.3, DL_UNLOAD problems
Got same problem under Linux with Apache 1.3.14
Here is my configure command:
./configure \
--with-mysql=/usr \
--with-gd=/usr \
--with-jpeg-dir \
--with-png-dir \
--with-tiff-dir \
--with-zlib-dir \
--with-ttf \
--with-mm \
--with-config-file-path=/usr/local/apache/conf \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-versioning \
--enable-memory-limit \
--enable-track-vars \
--enable-magic-quotes \
--with-sablot \
--enable-sablot-errors-descriptive \
--enable-safe-mode \
--enable-sysvsem \
--enable-sysvshm \
--enable-yp \
--disable-debug
Following WORKAROUND does work on my system.
- remove the config.cache file
- call configure without the sablotron option
- call configure with the sablotron options (don not touch config.cache)
- make; make install
Now it works, don't know why
Previous Comments:
---------------------------------------------------------------------------
[2000-10-13 13:38:41] ljb@devco.net
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7192