From:             alietss at yahoo dot com
Operating system: Linux RedHat 9.0
PHP version:      4CVS-2003-07-29 (stable)
PHP Bug Type:     Apache2 related
Bug description:  General extensions load fails for undefined symbols

Description:
------------
Hi people:
I'm testing php-4.3.3 on RedHat 9.0 with httpd-2.0.47-3 added unixd.h and
related headers files and used redhat patches to prevent the load of
extensions when exists undefined symbols, I built php as a handler, when I
start apache the extensions fails to load with this errors on apache error
log...

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/imap.so' - /usr/lib/php4/imap.so: undefined symbol:
file_globals in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: undefined symbol:
OnUpdateInt in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mcal.so' - /usr/lib/php4/mcal.so: undefined symbol:
convert_to_array in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mcrypt.so' - /usr/lib/php4/mcrypt.so: undefined symbol:
OnUpdateString in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mhash.so' - /usr/lib/php4/mhash.so: undefined symbol:
zend_register_long_constant in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mssql.so' - /usr/lib/php4/mssql.so: undefined symbol:
OnUpdateBool in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol:
OnUpdateInt in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/odbc.so' - /usr/lib/php4/odbc.so: undefined symbol:
OnUpdateInt in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/pdf.so' - /usr/lib/php4/pdf.so: undefined symbol:
core_globals in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: undefined symbol:
OnUpdateBool in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/snmp.so' - /usr/lib/php4/snmp.so: undefined symbol:
zend_get_parameters_ex in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/xslt.so' - /usr/lib/php4/xslt.so: undefined symbol:
executor_globals in Unknown on line 0

Here my configure line....

'./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'
'--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2'
'--with-db4=/usr' '--with-curl' '--with-dom=/usr'
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf'
'--with-gdbm' '--with-gettext' '--with-pdflib=shared'
'--with-tiff-dir=/usr' '--with-ncurses' '--with-gmp' '--with-iconv'
'--enable-xslt=shared' '--with-jpeg-dir=/usr' '--with-openssl'
'--with-png' '--with-pspell' '--with-regex=system' '--with-xml'
'--with-xmlrpc' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU'
'--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-discard-path' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8'
'--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl'
'--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mcal=shared,/usr' '--with-mcrypt=shared,/usr'
'--with-mhash=shared,/usr' '--with-mssql=shared,/usr'
'--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack'
'--with-xslt-sablot=shared,/usr' '--with-sablot-js=shared,/usr'
'--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath'
'--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx'
'--enable-dio' '--enable-mcal' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--enable-mbregex'
'--with-apxs2=/usr/sbin/apxs'

                                 Any ideas??


-- 
Edit bug report at http://bugs.php.net/?id=24853&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24853&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24853&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24853&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24853&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24853&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24853&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24853&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24853&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24853&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24853&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24853&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24853&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24853&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24853&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24853&r=gnused

Reply via email to