php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7487 undefined reference to `phpi_get_le_gd'
Submitted: 2000-10-27 04:49 UTC Modified: 2000-12-07 19:47 UTC
From: simonng at sitna dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: RedHat 7.0
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: simonng at sitna dot com
New email:
PHP Version: OS:

 

 [2000-10-27 04:49 UTC] simonng at sitna dot com
I complie with the following on php-4.03.pl1 with error, but it work fine in php-4.0.2.
It seem to be a gd problem.

/configure \
        --prefix=%{_prefix} \
        --with-config-file-path=%{_sysconfdir} \
        --disable-debug \
        --enable-pic \
        --enable-shared \
        --enable-inline-optimization \
        $* \
        --with-exec-dir=%{_bindir} \
        --with-regex=system \
        --with-gettext \
        --with-gd=shared \
        --with-jpeg-dir=%{_prefix} \
        --with-png \
        --with-zlib \
        --with-db2 \
        --with-db3 \
        --with-gdbm \
        --enable-debugger \
        --enable-magic-quotes \
        --enable-safe-mode \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-track-vars \
        --enable-yp \
        --enable-ftp \
        --without-mysql \
        --without-oracle \
        --without-oci8 \
        --with-openssl \
        --with-xml \
        --with-snmp \
        --enable-ucd-snmp-hack \
        --with-openssl=/usr \
        --with-bigg \
        --with-pdflib=/usr \
        --with-mm \
        --with-mhash \
        --enable-wddx \
        --with-t1lib \
        --with-cpdflib \
        --enable-sockets \
        --with-swf=/usr \
        --with-readline \
        --with-pspell \
        --with-kerberos \
        --with-xpm-dir=/usr/X11R6/lib/ \

##################################################

make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.3pl1/TSRM'
Making all in .
make[1]: Entering directory `/usr/src/redhat/BUILD/php-4.0.3pl1'
/bin/sh /usr/src/redhat/BUILD/php-4.0.3pl1/libtool --silent --mode=compile gcc  -I
. -I/usr/src/redhat/BUILD/php-4.0.3pl1/ -I/usr/src/redhat/BUILD/php-4.0.3pl1 -I/us
r/src/redhat/BUILD/php-4.0.3pl1/main -I/usr/src/redhat/BUILD/php-4.0.3pl1/Zend -I/
usr/src/redhat/BUILD/php-4.0.3pl1 -I/usr/include/freetype -I/usr/include/pspell -I
/usr/include/ucd-snmp -I/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmltok -I
/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/redhat/BUILD/
php-4.0.3pl1/TSRM  -DXML_BYTE_ORDER=12 -O2 -march=i386 -mcpu=i686 -fPIC  -c stub.c
/bin/sh /usr/src/redhat/BUILD/php-4.0.3pl1/libtool --silent --mode=link gcc  -I. -
I/usr/src/redhat/BUILD/php-4.0.3pl1/ -I/usr/src/redhat/BUILD/php-4.0.3pl1 -I/usr/s
rc/redhat/BUILD/php-4.0.3pl1/main -I/usr/src/redhat/BUILD/php-4.0.3pl1/Zend -I/usr
/src/redhat/BUILD/php-4.0.3pl1 -I/usr/include/freetype -I/usr/include/pspell -I/us
r/include/ucd-snmp -I/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmltok -I/us
r/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/redhat/BUILD/php
-4.0.3pl1/TSRM  -DXML_BYTE_ORDER=12 -O2 -march=i386 -mcpu=i686 -fPIC   -o libphp4.
la -rpath /usr/src/redhat/BUILD/php-4.0.3pl1/libs -L/usr/X11R6/lib  -R /usr/X11R6/
lib stub.lo  Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la  ext/bigg/libbigg
.la ext/cpdf/libcpdf.la ext/dba/libdba.la ext/ftp/libftp.la ext/gettext/libgettext
.la ext/mhash/libmhash.la ext/pcre/libpcre.la ext/pdf/libpdf.la ext/posix/libposix
.la ext/pspell/libpspell.la ext/readline/libreadline.la ext/session/libsession.la
ext/snmp/libsnmp.la ext/sockets/libsockets.la ext/standard/libstandard.la ext/swf/
libswf.la ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/wddx/libwddx.la
ext/xml/libxml.la ext/yp/libyp.la ext/zlib/libzlib.la TSRM/libtsrm.la -lpam -ldl -
lz -lswf -lsnmp -lmm -lreadline -lhistory -lncurses -lpspell -lpdf -ltiff -ltiff -
lpng -lpng -ljpeg -lmhash -lt1 -lX11 -lXpm -ljpeg -lz -lpng -ldb -ldb2 -lgdbm -ljp
eg -ltiff -lcpdf -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz -lresolv -
L/usr/lib -ljpeg -L/usr/X11R6/lib -lXpm -lX11 -lz -L/usr/lib -ljpeg -lpng -ltiff
/bin/sh /usr/src/redhat/BUILD/php-4.0.3pl1/libtool --silent --mode=link gcc  -I. -
I/usr/src/redhat/BUILD/php-4.0.3pl1/ -I/usr/src/redhat/BUILD/php-4.0.3pl1 -I/usr/s
rc/redhat/BUILD/php-4.0.3pl1/main -I/usr/src/redhat/BUILD/php-4.0.3pl1/Zend -I/usr
/src/redhat/BUILD/php-4.0.3pl1 -I/usr/include/freetype -I/usr/include/pspell -I/us
r/include/ucd-snmp -I/usr/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmltok -I/us
r/src/redhat/BUILD/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/src/redhat/BUILD/php
-4.0.3pl1/TSRM  -DXML_BYTE_ORDER=12 -O2 -march=i386 -mcpu=i686 -fPIC   -o php -exp
ort-dynamic      stub.lo libphp4.la
/usr/lib/libswf.a(swfimage.o): In function `swf_definebitmap':
swfimage.o(.text+0x672): the use of `mktemp' is dangerous, better use `mkstemp'
.libs/libphp4.a(cpdf.o): In function `php_if_cpdf_place_inline_image':
cpdf.o(.text+0x4211): undefined reference to `phpi_get_le_gd'
.libs/libphp4.a(pdf.o): In function `php_if_pdf_open_memory_image':
pdf.o(.text+0xa667): undefined reference to `phpi_get_le_gd'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.3pl1'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.94998 (%build)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-06 10:30 UTC] sniper@php.net
Please try a latest snapshot from snaps.php.net
as I think this is fixed already.

--Jani
 [2000-11-27 09:56 UTC] sniper@php.net
This isn't fixed yet. Reproduced with latest CVS.

--Jani
 [2000-11-27 09:56 UTC] sniper@php.net
Bug #7251 is duplicate for this.
 [2000-12-07 19:47 UTC] sniper@php.net
This should be fixed in CVS.
Try latest snapshot from http://snaps.php.net/
(works for me just fine)

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 21:00:02 2026 UTC