php-5.3.6 fails on CentOS 5.6 64 bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux