#33745 [Opn->Fbk]: Errors compiling on x86_64 platform
ID: 33745
Updated by: tony2001@php.net
Reported By: jap1968 at yahoo dot es
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Fedora Core 4
PHP Version: 5.0.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-07-18 12:13:02] jap1968 at yahoo dot es
Description:
------------
I am having a lot of problems when trying to compile PHP on a Fedora
Core 4 (x86_64) just out of the box.
They seem to be related to problems in finding the 64bit versions of
the libraries
Initially I had problems to compile with MySQL support, but those where
solved adding
LDFLAGS=' -L/usr/lib64/mysql'
when launching the '.configure' command. Then, manually replacing
'-L/usr/lib/mysql' with '-L/usr/lib64/mysql' when running the libtool
command (just at the end of the 'make' process).
With these changes I can compile PHP with MySQL both in 64 bit version,
but I am having a similar problem compiling with the graphic library GD
(--wityh-gd) and even telling explicitly the path of the 64 bit
libraries, it always complain about not finding the libraries.
As I told before, Is a FC4-x86_64 distro just installed, 'out of the
box' without any changes.
Reproduce code:
---------------
LDFLAGS=' -L/usr/lib64 -L/usr/lib64/mysql' ./configure \
--with-apxs2=/usr/sbin/apxs \
--with-config-file-path=/etc \
--with-zlib \
--without-sqlite \
--with-gd \
--with-jpeg-dir=/usr/lib64 \
--with-png-dir=/usr/lib64
Expected result:
----------------
Makefile created!
Actual result:
--------------
checking for GD support... yes
checking for the location of libjpeg... /usr/lib64
checking for the location of libpng... /usr/lib64
..
configure: error: libjpeg.(a|so) not found.
Note: Both, libjpeg.a and libjpeg.so are located on my /usr/lib64
directory
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33745&edit=1
Thread (5 messages)