php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45374 Is not possible compile
Submitted: 2008-06-27 08:03 UTC Modified: 2008-06-27 10:47 UTC
From: jiri dot stefek at unibase dot cz Assigned: pajoye (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.6 OS: Suse SLES 9 64 bit
Private report: No CVE-ID: None
 [2008-06-27 08:03 UTC] jiri dot stefek at unibase dot cz
Description:
------------
Is'nt possible compile configure PHP 5.2.6 whith gd on SLES 9.3 64bit. Configrure ended with 'configure: error: libpng.(a|so) not found.'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-27 08:27 UTC] pajoye@php.net
Install the libpng development package.
 [2008-06-27 08:49 UTC] jiri dot stefek at unibase dot cz
libpng-devel is instaled. I must make 'ln -s /usr/lib/libpng.so.3.1.2.5 /usr/lib/libpng.so'
 [2008-06-27 09:11 UTC] pajoye@php.net
No, you only installed libpng, not the development packages. Please ask further questions on the php install mailing list or one of the numerous Suse forums.
 [2008-06-27 09:49 UTC] jiri dot stefek at unibase dot cz
No, both packages was instaled.

xxxx:~ # rpm -qa | grep libpng
libpng-1.2.5-182.10
libpng-32bit-9-200408140621
libpng-devel-1.2.5-182.10
xxxx:~ #
 [2008-06-27 10:25 UTC] pajoye@php.net
what is your configure line?
 [2008-06-27 10:30 UTC] jiri dot stefek at unibase dot cz
./configure --with-oci8=/opt/oracle/product/10GR1 --libdir=lib64 --enable-track-vars --enable-sigchild --with-iconv --with-freetype-dir --disable-dom --with-png-dir=/usr/lib64 --with-jpeg-dir=/usr/lib64 --disable-xml  --disable-xmlreader --disable-xmlwriter --without-pear --disable-libxml --disable-simplexml --with-gd
 [2008-06-27 10:47 UTC] pajoye@php.net
--with-png-dir=/usr/lib64 is wrong. you have to specify the prefix, not the lib dir.

--with-png-dir=/usr/

Please now, ask further question in Suse forums or the install mailing lists.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 07:01:30 2024 UTC