From:             buddy at southwest dot cc dot nc dot us
Operating system: Solaris 2.8
PHP version:      4.3.11
PHP Bug Type:     Apache related
Bug description:  Symbol Referencing Error loading Apache Module __eprintf: 
referenced symbol not

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 bug report at http://bugs.php.net/?id=33425&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33425&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33425&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33425&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33425&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33425&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33425&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33425&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33425&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33425&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33425&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33425&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33425&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33425&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33425&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33425&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33425&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33425&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33425&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33425&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33425&r=mysqlcfg

Reply via email to