#41761 [Fbk->Opn]: /usr/lib64 not found
| From: | no at no dot no | Date: | Thu, 21 Jun 2007 13:11:34 +0000 |
| Subject: | #41761 [Fbk->Opn]: /usr/lib64 not found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114004@lists.php.net to get a copy of this message | ||
ID: 41761
User updated by: no at no dot no
Reported By: no at no dot no
-Status: Feedback
+Status: Open
Bug Type: *Configuration Issues
Operating System: RHEL 5 x86_64
PHP Version: 5.2.3
Assigned To: pajoye
New Comment:
'--libdir=/lib64' or '--libdir=/lib64/':
configure: error: libpng.(a|so) not found.
'--libdir=lib64':
configure: error: expected an absolute directory name for --libdir:
lib64
What works is
ln -s /usr/include /opt/include
ln -s /usr/lib64 /opt/lib
./configure '--prefix=/php5' '--with-config-file-path=/opt/lsws/php5'
'--with-litespeed' '--libdir=/usr/lib64' '--with-jpeg-dir=/opt'
'--with-ttf' '--with-png' '--with-png-dir=/opt''--with-gd'
'--enable-gd-native-ttf' '--enable-exif' '--enable-ftp'
'--with-mysql=/opt' '--with-mysql-sock=/tmp/mysql.sock'
'--enable-memory-limit' '--with-zlib' '--with-openssl'
'--with-curl'
'--enable-magic-quotes' '--enable-mbstring' '--enable-mbstr-enc-trans'
'--enable-mbregex' '--enable-bcmath' '--enable-calendar'
'--enable-sockets' '--enable-zip' '--enable-shmop'
'--enable-track-vars'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--with-pear=/usr/lib64/php/pear' '--disable-cgi' '--disable-debug'
Previous Comments:
------------------------------------------------------------------------
[2007-06-21 12:56:52] pajoye@php.net
"Yes I tried it with '--libdir=/usr/lib64', with and without
--with-jpeg-dir and got same error."
That's wrong. You have to tell which suffix it has to use, not the full
path. --with-libdir=lib64 or --with-libdir=/lib64 (not sure if / is
required)
------------------------------------------------------------------------
[2007-06-21 12:54:51] no at no dot no
Yes I tried it with '--libdir=/usr/lib64', with and without
--with-jpeg-dir and got same error.
------------------------------------------------------------------------
[2007-06-21 12:50:16] pajoye@php.net
Please try using the following configure option:
--libdir=DIR object code libraries [EPREFIX/lib]
------------------------------------------------------------------------
[2007-06-21 12:41:24] no at no dot no
Description:
------------
Bug #33685 still happens. Same error with not finding stuff from
/usr/lib64 , same workaround in RHEL 5/64 with php 5.2.3 configure.
configure: error: libjpeg.(a|so) not found.
symbolic linking mention in Bug #33685 to opt fixes it (and png, and
mysql)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41761&edit=1