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
+PHP Version: 5.3.4
Block user comment: N
Private report: N
New Comment:
I tried with new PHP 5.3.4 and same problem :
My Fedora 14 is x86_64 only, and PHP search jpeg and png libs into
/usr/lib rather into /usr/lib64
The only "good" solution I found is to create 2 sym links :
ln -s /usr/lib64/libjpeg.so /usr/lib/libjpeg.so
ln -s /usr/lib64/libpng.so /usr/lib/libpng.so
After, it works.
Please, can you fix it ?
Thank you ;)
Previous Comments:
------------------------------------------------------------------------
[2010-11-16 08:14:21] sites at evoluons dot net
Maybe nobody had that bug ?
------------------------------------------------------------------------
[2010-11-13 08:44:57] sites at evoluons dot net
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 ?
------------------------------------------------------------------------
[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 ;)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=53303
--
Edit this bug report at http://bugs.php.net/bug.php?id=53303&edit=1