php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36114 <basedir>/lib64 not being searched for some libs
Submitted: 2006-01-21 03:38 UTC Modified: 2006-01-21 03:53 UTC
From: jbnance at tresgeek dot net Assigned: pajoye (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.2 OS: Linux (x86_64 RHEL4)
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: jbnance at tresgeek dot net
New email:
PHP Version: OS:

 

 [2006-01-21 03:38 UTC] jbnance at tresgeek dot net
Description:
------------
On 64-bit Linux systems, some features requiring system libraries which are located in <basedir>/lib64 are not being found.

Reproduce code:
---------------
cd php-5.1.2
./configure --with-gd=shared \
            --with-jpeg-dir=/usr \
            --with-png-dir=/usr \
            --with-freetype-dir=/usr \
            --enable-gd-native-ttf \

Expected result:
----------------
Library found, feature enabled and compiled.

Actual result:
--------------
<snip>
checking for GD support... yes, shared
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... /usr
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.
</snip>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-21 03:41 UTC] jbnance at tresgeek dot net
Tried snap php5.1-200601210130 with same results.
 [2006-01-21 03:42 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.

You have to use the "--with-libdir=/lib64" configure option.
 [2006-01-21 03:50 UTC] jbnance at tresgeek dot net
Thanks for the comment, however, using --with-libdir=/lib64 or --with-libdir=/usr/lib64 has no effect.  The results are the same.
 [2006-01-21 03:53 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.

You are doing something wrong. It works perfectly.

Please do not reopen this bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Nov 29 08:00:01 2025 UTC