php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33740 Configure fails on libpng
Submitted: 2005-07-18 06:37 UTC Modified: 2005-07-18 08:17 UTC
From: juha at mobilememoir dot com Assigned:
Status: Wont fix Package: *Compile Issues
PHP Version: 4.4.0 OS: SUSE 9.3 Professional
Private report: No CVE-ID: None
 [2005-07-18 06:37 UTC] juha at mobilememoir dot com
Description:
------------
The PHP configure script will not find libpng. The same configure line works fine in 32-bit Redhat. I am running SUSE x64 Professional where all the libs are placed into /usr/lib64 folder. It looks like PHP is trying to get em from /usr/local/lib folder instead.




Reproduce code:
---------------
./php-4.4.0/configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-imap=/usr/local/imap-2004a --with-gd=/usr/lib64 --with-png-dir=/usr/lib64 --with-jpeg-dir=/usr/lib64/ --with-zlib-dir=/usr/lib64 --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2



Expected result:
----------------
No configure error.

Actual result:
--------------
configure: error: libpng.(a|so) not found.

Libpng is in /usr/lib64 folder, see below:

kuhazor:/usr/lib64 # ls -alF | grep libpng
-rw-r--r--   1 root root   307756 2005-03-19 13:30 libpng12.a
lrwxrwxrwx   1 root root       13 2005-07-17 21:05 libpng12.so -> libpng12.so.0*
lrwxrwxrwx   1 root root       19 2005-07-17 21:05 libpng12.so.0 -> libpng12.so.0.1.2.8*
-rwxr-xr-x   1 root root   182648 2005-03-19 13:30 libpng12.so.0.1.2.8*
lrwxrwxrwx   1 root root       10 2005-07-17 21:05 libpng.a -> libpng12.a
lrwxrwxrwx   1 root root       11 2005-07-17 21:05 libpng.so -> libpng.so.3*
lrwxrwxrwx   1 root root       17 2005-07-17 21:05 libpng.so.3 -> libpng.so.3.1.2.8*
-rwxr-xr-x   1 root root   182648 2005-03-19 13:30 libpng.so.3.1.2.8*


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-18 08:17 UTC] derick@php.net
You need to make symlinks for this, this is addressed in PHP 5+, but will no tbe backported to PHP 4.4.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 11:01:28 2024 UTC