php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32551 Building GD as shared lib results into "undefined symbol"
Submitted: 2005-04-03 00:40 UTC Modified: 2005-04-03 01:50 UTC
From: jo at feuersee dot de Assigned:
Status: Not a bug Package: GD related
PHP Version: 5.0.4 OS: Linux 2.6.11
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jo at feuersee dot de
New email:
PHP Version: OS:

 

 [2005-04-03 00:40 UTC] jo at feuersee dot de
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-03 01:08 UTC] sniper@php.net
First of all: using path '/usr/lib' is incorrect.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 17:01:27 2025 UTC