#32551 [NEW]: Building GD as shared lib results into "undefined symbol"
| From: | jo at feuersee dot de | Date: | Sat, 02 Apr 2005 22:40:04 +0000 |
| Subject: | #32551 [NEW]: Building GD as shared lib results into "undefined symbol" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-76221@lists.php.net to get a copy of this message | ||
From: jo at feuersee dot de
Operating system: Linux 2.6.11
PHP version: 5.0.4
PHP Bug Type: GD related
Bug description: Building GD as shared lib results into "undefined symbol"
Description:
------------
I have used the very same configure params as for PHP5.0.3 (which worked
and still do work):
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-bz2=shared,/usr/lib \
--with-config-file-path=/etc/httpd \
--with-curl=shared,/usr/lib --with-curlwrapper \
--with-dom-xslt=/usr/lib \
--with-expat-dir=/usr/lib \
--with-gettext=shared,/usr/lib \
--with-gd=shared --with-freetype-dir=/usr --with-jpeg-dir=/usr
--with-png-dir=/usr --with-tiff-dir=/usr --with-zlib-dir=/usr
--with-xpm-dir=/usr --with-t1lib=/usr/local \
--with-gmp=shared,/usr/lib \
--with-iconv=shared,/usr/lib --with-iconv-dir=/usr/lib \
--with-imap=shared,/usr/lib \
--with-imap-ssl=/usr/lib \
--with-ldap=shared,/usr \
--with-mcal=shared,/usr/lib \
--with-mcrypt=shared,/usr/lib \
--with-ming=shared,/usr/lib \
--with-mm=/usr \
--with-mysql=shared,/usr/lib \
--with-ncurses=shared,/usr/lib \
--with-openssl=shared,/usr \
--with-qtdom=shared,/usr/lib \
--with-pear=/usr/local/share/php \
--with-pgsql=shared,/usr/lib \
--with-pspell=shared,/usr \
--with-readline=shared,/usr/lib \
--with-snmp=shared,/usr \
--with-xmlrpc=shared \
--with-xsl=shared,/usr \
--with-zlib=shared,/usr \
--enable-calendar=shared \
--enable-ctype=shared \
--enable-dba=shared --with-gdbm=/usr --with-ndbm --with-db4
--with-inifiles --with-flatfiles \
--enable-dbase=shared \
--enable-dbx=shared \
--enable-dom=shared --with-xml-dir=/usr \
--enable-exif=shared \
--enable-inline-optimization \
--disable-ipv6 \
--enable-ftp=shared \
--enable-filepro=shared \
--enable-gd-imgstrttf --enable-gd-native-ttf \
--enable-mailparse \
--enable-mbstring=shared,all \
--enable-mcal=shared \
--enable-memory-limit \
--enable-overload \
--enable-shmop=shared \
--enable-soap=shared \
--enable-sockets=shared --enable-ipc \
--enable-sysvmsg=shared --enable-sysvshm=yes \
--enable-sqlite=shared \
--enable-sqlite-utf8 \
--enable-tokenizer=shared \
--enable-trans-sid \
--enable-url-includes \
--enable-versioning \
--enable-wddx=shared \
--enable-yp=shared
After installing, when restarting apache, the following error msg
appears:
<b>Warning</b>: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20041030/gd.so' -
/usr/lib/php/extensions/no-debug-non-zts-20041030/gd.so: undefined symbol:
libiconv_open in <b>Unknown</b> on line <b>0</b><br />
PHP5.0.4 works, but w/o any GDlib support since the shared module won't
get loaded.
--
Edit bug report at http://bugs.php.net/?id=32551&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32551&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32551&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32551&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32551&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32551&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32551&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32551&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32551&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32551&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32551&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32551&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32551&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32551&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32551&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32551&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32551&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32551&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32551&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32551&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32551&r=mysqlcfg