Edit report at http://bugs.php.net/bug.php?id=53303&edit=1
ID: 53303 User updated by: sites at evoluons dot net Reported by: sites at evoluons dot net Summary: x86_64 PHP needs libjpeg and libpng i686 ? Status: Open Type: Bug Package: Compile Failure Operating System: Fedora 14 x86_64 PHP Version: 5.3.3 Block user comment: N New Comment: The only workaround I found is to use --with-libdir=lib64 because it prevent to user MySQL library (compiled by myself) but if I create 2 sym links from /usr/lib64/libjpeg.so to /usr/lib/libjpeg.so and /usr/lib64/libpng.so to /usr/lib/libpng.so it work. I think I am not the only one to obtain that... maybe a better solution that symbolic links ? Previous Comments: ------------------------------------------------------------------------ [2010-11-13 07:22:04] sites at evoluons dot net I tried with --with-libdir=lib64 and now MySQL libraries are not found... so it's not a good solution. ------------------------------------------------------------------------ [2010-11-13 07:18:41] sites at evoluons dot net On a forum, someone tells we must use "--with-libdir=lib64" onto 64 bits systems. OK, but why, freetype, mcrypt etc... automatically use lib64 without it, and libjpeg and libpng not ? I admit I don't understand ;) ------------------------------------------------------------------------ [2010-11-13 07:00:46] sites at evoluons dot net My ./configure is : ./configure --with-apxs2=/usr/local/apache_maxou/bin/apxs --with-config-file-path=/usr/local/apache_maxou/conf --disable-ipv6 --with-gd --with-zlib --enable-ftp --enable-sockets --with-curl --enable-mbstring --enable-exif --without-pdo-sqlite --without-sqlite --without-pear --enable-zip --prefix=/usr/local/php_maxou --with-mysql=/usr/local/mysql --with-jpeg-dir --with-png-dir --with-freetype-dir --enable-gd-native-ttf --with-mcrypt Thank you ;) ------------------------------------------------------------------------ [2010-11-13 04:10:41] ka...@php.net What was your ./configure line? ------------------------------------------------------------------------ [2010-11-12 22:17:21] sites at evoluons dot net Description: ------------ Hi, I always compile PHP myself, and I use Fedora 14 x86_64. libjpeg and libpng are already installed, but PHP don't found them. But, if I install libjpeg i686 and libpng i686, it works. With other libraries, i686 is not necessary. Why ? Thank you ;) PS : SELinux is disabled Expected result: ---------------- PHP should compile with libjpeg and libpng x86_64, no ? Actual result: -------------- libjpeg and libpng x86_64 are already installed, but PHP don't found them. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53303&edit=1