[CentOS] php-5.3.6 fails on CentOS 5.6 64 bit
Nguyen Vu Hung (VNC)
vuhung at vinicorp.com.vnThu Jul 14 06:18:06 UTC 2011
- Previous message: [CentOS] Problem with AT&T VPN
- Next message: [CentOS] php-5.3.6 fails on CentOS 5.6 64 bit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all, # I am quite new to 64 bit Linux I am trying to build php-5.3.6 on CentOS 5.6, 64 bit. When I run ./configure under php-5.3.6, I get the following error: ----- Error ----- If configure fails try --with-jpeg-dir=<DIR> configure: error: libpng.(a|so) not found. ----- Error ----- Though libpng-devel and libjpeg-devel (both i386 and x64 rpms) are installed, it seems that configure could not find them. (I guess) I've fixed the errors by: 1. Adding /usr/lib64 to /etc/so.ld.conf, and 2. Specify jpeg lib dir that configure has to look: ./configure --with-jpeg-dir=/usr So, php 5.3.6 did compile fine but, curiously, I want to ask: 3. Why /usr/lib64 is not in ldconfig by default? 4. Why it is "--with-jpeg-dir=/usr" but not "--with-jpeg-dir=/usr/lib64"? BR, Nguyễn Vũ Hưng -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110714/1a481b7f/attachment.html>
- Previous message: [CentOS] Problem with AT&T VPN
- Next message: [CentOS] php-5.3.6 fails on CentOS 5.6 64 bit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list