Change --libdir=/usr/lib64 to --with-libdir=lib64
I beat my head against the wall for two days on that same thing myself.
-----Original Message-----
From: Steven Cruz [mailto:steven.cruz@xxxxxxxxxxxx]
Sent: Wednesday, February 20, 2008 2:43 PM
To: php-install@xxxxxxxxxxxxx
Subject: problem with 64 bit install.
Hello Everyone;
I am trying to build PHP 5.2.5 on Centos 64 bit. I am seeing the
error below in the Configuration Extensions section when I run configure.
^[[1mConfiguring extensions^[[m
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking for krb5-config... /usr/kerberos/bin/krb5-config
checking for DSA_get_default_method in -lssl... yes
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE support... yes
configure: error: Could not find libpcre.(a|so) in /usr
Here is the start of my configure line
LDFLAGS="-L/usr/lib64" LD_LIBRARY_PATH="-L/usr/lib64"
LD_PATH="-L/usr/lib64" LDPATH="-L/usr/lib64" ./configure \
....
--libdir=/usr/lib64 \
....
The missing file can be found at :
$ls -latr /usr/lib64/libpcre.*
-rw-r--r-- 1 root root 177300 Nov 30 00:11 /usr/lib64/libpcre.a
lrwxrwxrwx 1 root root 24 Feb 19 16:07 /usr/lib64/libpcre.so ->
../../lib64/libpcre.so.0
Should be some other flag be set? I think I am missing something
simple. Is there anything else you would like to see?
thank you.
Steven
8-)
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]