For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2008 > problem with 64 bit install.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author problem with 64 bit install.
Steven Cruz

2008-02-20, 7:06 pm

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-)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com