php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38676 Configing PHP 5.1.6 with GD support fails.
Submitted: 2006-08-31 22:53 UTC Modified: 2006-09-01 00:06 UTC
From: abdamiano at hfxcentral dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.6 OS: SuSE 9.2 x86_64
Private report: No CVE-ID: None
 [2006-08-31 22:53 UTC] abdamiano at hfxcentral dot net
Description:
------------
While trying to config PHP 5.1.6 on SuSE 9.2 x86_64, I am running into multiple issues in trying to config with GD support.

Actual result:
--------------
Following the workaround mentioned in: http://bugs.php.net/bug.php?id=33685&edit=1 I was able to get past the first problem of configure: error: libpng.(a|so) not found and am now getting configure: error: libXpm.(a|so) not found. All nessisary devel packages are installed and verified.

gd 2.0.28-2.5
gd-devel 2.0.28-2.5
jpeg 6b-736
libjpeg 6.2.0-736
libjpeg-devel 6.2.0-2
xorg-x11-devel 6.8.1-15

Last few lines of config.log:
configure:34291: checking for fabsf
configure:34319: gcc -o conftest -g -O2   -Wl,-rpath,/usr/lib64 -L/usr/lib64 -Wl,-rpath,/opt/lib -L/opt/lib -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib conftest.c -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lssl -lcrypto -ldl 1>&5
configure:34303: warning: conflicting types for built-in function `fabsf'
configure:34291: checking for floorf
configure:34319: gcc -o conftest -g -O2   -Wl,-rpath,/usr/lib64 -L/usr/lib64 -Wl,-rpath,/opt/lib -L/opt/lib -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib conftest.c -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lssl -lcrypto -ldl 1>&5
configure:34303: warning: conflicting types for built-in function `floorf'
configure:34467: checking for jpeg_read_header in -ljpeg
configure:34486: gcc -o conftest -g -O2  -Wl,-rpath,/opt/lib -L/opt/lib  -Wl,-rpath,/usr/lib64 -L/usr/lib64 -Wl,-rpath,/opt/lib -L/opt/lib -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib conftest.c -ljpeg  -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lssl -lcrypto -ldl 1>&5
configure:34766: checking for png_write_image in -lpng
configure:34785: gcc -o conftest -g -O2  -Wl,-rpath,/opt/lib -L/opt/lib -Wl,-rpath,/opt/lib -L/opt/lib  -Wl,-rpath,/usr/lib64 -L/usr/lib64 -Wl,-rpath,/opt/lib -L/opt/lib -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -lz conftest.c -lpng  -ljpeg -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lssl -lcrypto -ldl 1>&5


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-31 22:55 UTC] abdamiano at hfxcentral dot net
Full config log can be found here:

http://www.tazinator.com/config.log
 [2006-08-31 23:06 UTC] pajoye@php.net
What's your configure line?

Are you sure that the libxpm includes are in lib or opt and not in X11? 


 [2006-08-31 23:15 UTC] abdamiano at hfxcentral dot net
All my libraries are located in /usr/X11R6/lib64/, but specifying that location returns the same error. I have tried /opt, /usr, etc etc all the same.

/usr/X11R6/lib64/libXpm.so
/usr/X11R6/lib64/libXpm.a

My config line can be found here:

http://www.tazinator.com/mkphp5
 [2006-08-31 23:18 UTC] tony2001@php.net
It should be --with-xpm-dir=/usr/X11R6 --with-libdir=lib64.
 [2006-08-31 23:40 UTC] abdamiano at hfxcentral dot net
Now im getting with that change:

checking for T1_StrError in -lt1... no
configure: error: Problem with libt1.(a|so). Please check config.log for more information.

Config.log shows:

undefined reference to `T1_StrError'

So im going to attempt to update my t1lib from its current version of 1.3.1-569
 [2006-08-31 23:58 UTC] pajoye@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Please ask the php.install mailing. We don't the time to go through all libs problem you meet. 
 [2006-09-01 00:06 UTC] abdamiano at hfxcentral dot net
Understandable, however the before mentioned referenced bug: http://bugs.php.net/bug.php?id=33685&edit=1 seemed to still apply to this particular install and thus made me believe it was a bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Dec 06 05:00:02 2025 UTC