PHP 4.0 Bug #7192 Updated: Non-working Sablotron in 4.0.3, DL_UNLOAD problems
| From: | sniper@php.net | Date: | Tue, 16 Jan 2001 10:30:09 +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-44217@lists.php.net to get a copy of this message | ||
ID: 7192
Updated by: sniper
Reported By: ljb@devco.net
Old-Status: Feedback
Status: Closed
Old-Bug Type: Dynamic loading
Bug Type: Sablotron XSL
Assigned To:
Comments:
Use reported problem solved in 4.0.4.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-11 15:47:02] sniper@php.net
Please try the latest CVS snapshot from http://snaps.php.net/ as
there
have been a few fixes related to this bug.
--Jani
---------------------------------------------------------------------------
[2001-01-04 08:08:50] sniper@php.net
Have you tried reducing the configure options to minumum?
If not please do and then add the other options one by
one until the problem raises it's ugly head again.
Remember to delete config.cache after every configure.
And please send me the config.log you get when it doesn't
work.
--Jani
---------------------------------------------------------------------------
[2001-01-03 12:23:01] ljb@devco.net
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
---------------------------------------------------------------------------
[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