#33425 [Opn]: Symbol Referencing Error loading Apache Module __eprintf: referenced symbol not
| From: | buddy at southwest dot cc dot nc dot us | Date: | Wed, 22 Jun 2005 15:42:27 +0000 |
| Subject: | #33425 [Opn]: Symbol Referencing Error loading Apache Module __eprintf: referenced symbol not | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-80832@lists.php.net to get a copy of this message | ||
ID: 33425
User updated by: buddy at southwest dot cc dot nc dot us
Reported By: buddy at southwest dot cc dot nc dot us
Status: Open
Bug Type: Apache related
Operating System: Solaris 2.8
PHP Version: 4.3.11
New Comment:
OK. I removed the sunfreeware sablotron pkg, and made sure all
references to *sab* in /usr/local were gone, remade sablotron from src
using --prefix=/usr/local/sablot, (using the sunfreeware expat and
iconv in /usr/local) exported 'LDFLAGS=-lstdc++' (not sure if i needed
this but *shrug) and then
./configure --with-apxs=/usr/local/apache-1.3.33/bin/apxs
--with-mysql=/usr/local/mysql --enable-track-vars --with-gd
--enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets
--with-gettext --enable-wddx --with-xmlrpc --enable-exif
--with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local
--with-expat-dir=/usr/local --enable-xslt
--with-xslt-sablot=/usr/local/sablot --with-iconv-dir=/usr/local
--enable-libgcc
including the rebuilt sablotron library, and it compiled/loaded fine.
I think this was a sablotron linking issue with the sunfreeware
package, not a PHP issue, but I'm not certain.
For future reference, you can use sunfreeware expat and iconv, but I
was unable to use sunfreeware libxsl.
Previous Comments:
------------------------------------------------------------------------
[2005-06-22 15:31:06] buddy at southwest dot cc dot nc dot us
It works fine without --enable-xslt and
--with-xslt-sablot=/usr/local/.
I may have a Sablotron issue.
------------------------------------------------------------------------
[2005-06-22 00:53:13] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-06-21 21:02:53] buddy at southwest dot cc dot nc dot us
Forgot to mention, compiling with gcc (GCC) 3.4.2
------------------------------------------------------------------------
[2005-06-21 20:53:00] buddy at southwest dot cc dot nc dot us
Description:
------------
Compiled apache with SHARED_CORE and php with --enable-libgcc and still
get a symbol referencing error:
#./apachectl start
Syntax error on line 237 of /usr/local/apache-1.3.33/conf/httpd.conf:
Cannot load /usr/local/apache-1.3.33/libexec/libphp4.so into server:
ld.so.1: /usr/local/apache-1.3.33/bin/httpd: fatal: relocation error:
file /usr/local/lib/libstdc++.so.6: symbol __eprintf: referenced symbol
not found
Apache configure line:
./configure --enable-shared=max --enable-rule=SHARED_CORE
--enable-module=most --prefix=/usr/local/apache-1.3.33
PHP Configure line:
./configure --with-apxs=/usr/local/apache-1.3.33/bin/apxs
--with-mysql=/usr/local/mysql --enable-track-vars --with-gd
--enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets
--with-gettext --enable-wddx --with-xmlrpc --enable-exif
--with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local
--with-expat-dir=/usr/local --enable-xslt
--with-xslt-sablot=/usr/local/ --with-iconv-dir=/usr/local/
--enable-libgcc
#ldd libphp4.so
libsablot.so.0 => /usr/local/lib/libsablot.so.0
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libexpat.so.0 => /usr/local/lib/libexpat.so.0
libmysqlclient.so.14 =>
/usr/local/mysql/lib/mysql/libmysqlclient.so.14
libintl.so.1 => /lib/libintl.so.1
libpng.so.3 => /usr/local/lib/libpng.so.3
libz.so.1 => /lib/libz.so.1
libjpeg.so.62 => /usr/local/lib/libjpeg.so.62
libresolv.so.2 => /lib/libresolv.so.2
libm.so.1 => /lib/libm.so.1
libdl.so.1 => /lib/libdl.so.1
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libc.so.1 => /lib/libc.so.1
libstdc++.so.6 => /usr/local/lib/libstdc++.so.6
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
librt.so.1 => /lib/librt.so.1
libcrypt_i.so.1 => /lib/libcrypt_i.so.1
libgen.so.1 => /lib/libgen.so.1
libmp.so.2 => /lib/libmp.so.2
libaio.so.1 => /lib/libaio.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33425&edit=1