|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-10-13 13:38 UTC] ljb at devco dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 08:00:01 2025 UTC |
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