From:             kaufman at newworlddesign dot com
Operating system: RedHat Linux 9.0
PHP version:      4.3.10
PHP Bug Type:     Compile Failure
Bug description:  Compile fails with "undefined reference" in libpspell.a to 
lt_dlexit 

Description:
------------
As part of the process of upgrading one of our servers from an older
version of PHP, we downloaded the latest PHP 4.3.10 source and attempted
to build it.

The configure information is below:

./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i386-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=/usr/bin/bzip2 --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-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl
--with-png --with-pspell --with-regex=system --with-xml
--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-mysql=shared,/usr --enable-xslt=shared --with-xslt-sablot
--with-sablot-js=/usr --with-mhash=shared --with-mcrypt=shared
--with-snmp=shared,/usr --with-snmp=shared --enable-ucd-snmp-hack
--with-pgsql=shared --with-unixODBC=shared --enable-memory-limit
--enable-bcmath --enable-shmop --enable-versioning --enable-calendar
--enable-dbx --enable-dio --enable-mcal --with-apxs2filter=/usr/sbin/apxs

The build process dies with the following errors:

/usr/bin/ld: warning: libcom_err.so.2, needed by
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libcurl.so, may conflict
with libcom_err.so.3
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0xd):
In function `free_lt_handle(void*)':
: undefined reference to `lt_dlclose'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0x16):
In function `free_lt_handle(void*)':
: undefined reference to `lt_dlexit'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0x8f):
In function `new_pspell_manager_class(PspellConfig*)':
: undefined reference to `pspell_manager_funs_size'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0xa6):
In function `new_pspell_manager_class(PspellConfig*)':
: undefined reference to `pspell_manager_funs'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0xc1):
In function `new_pspell_manager_class(PspellConfig*)':
: undefined reference to `lt_dlinit'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0x135):
In function `new_pspell_manager_class(PspellConfig*)':
: undefined reference to `lt_dlopen'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0x14f):
In function `new_pspell_manager_class(PspellConfig*)':
: undefined reference to `lt_dlsym'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libpspell.a(manager_impl.o)(.text+0x285):
In function `new_pspell_manager_class(PspellConfig*)':
: undefined reference to `pspell_manager_funs'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1



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

Reply via email to