php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8437 Compile error with pdflib & gd (shared)
Submitted: 2000-12-27 08:57 UTC Modified: 2001-02-26 08:37 UTC
From: sdelille at auxicad dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (27/12/2000) OS: Red Hat Linux 6.2 (i386)
Private report: No CVE-ID: None
 [2000-12-27 08:57 UTC] sdelille at auxicad dot fr
This compile bug was already opened as #7251 & #7487 and closed, 
but it is not solved in latest CVS (it doen't work with 4.0.4 either).


$ ./configure --with-pdflib --with-gd=shared ; make

[...]
/bin/sh /home/users/sede/php4-200012270245/libtool --silent --mode=link gcc  -I. -I/home/users/sede/php4-200012270245/ -I/home/users/sedephp4-200012270245/main -I/home/users/sede/php4-200012270245 -I/home/users/sede/php4-200012270245/Zend -I/usr/include/freetype -I/home/users/sede/php4-200012270245/ext/mysql/libmysql -I/home/users/sede/php4-200012270245/ext/xml/expat/xmltok -I/home/users/sede/php4-200012270245/ext/xml/expat/xmlparse -I/home/users/sede/php4-200012270245/TSRM  -DXML_BYTE_ORDER=12 -g -O2   -o php -export-dynamic	 stub.lo libphp4.la
.libs/libphp4.a(pdf.o): In function `php_if_pdf_open_memory_image':
/home/users/sede/php4-200012270245/ext/pdf/pdf.c:2533: undefined reference to `phpi_get_le_gd'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/home/users/sede/php4-200012270245'
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-26 08:36 UTC] sniper@php.net
This should be fixed in CVS now. And if not, use the workaround
of configuring both pdflib and gd extensions as shared and not only
other.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC