php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31281 Compile fails with "undefined reference" in libpspell.a to lt_dlexit
Submitted: 2004-12-24 09:42 UTC Modified: 2004-12-30 06:47 UTC
From: kaufman at newworlddesign dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.10 OS: RedHat Linux 9.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kaufman at newworlddesign dot com
New email:
PHP Version: OS:

 

 [2004-12-24 09:42 UTC] kaufman at newworlddesign dot com
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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-30 06:47 UTC] sniper@php.net
This has nothing to do with PHP, your system is messed up.
Also, you should find out what the various configure options do in PHP configure. For example --enable-versioning is fatal, as well as --with-regex=system..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 09:00:03 2025 UTC