From:             jap1968 at yahoo dot es
Operating system: Fedora Core 4
PHP version:      5.0.4
PHP Bug Type:     Compile Failure
Bug description:  Errors compiling on x86_64 platform

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 bug report at http://bugs.php.net/?id=33745&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33745&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33745&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33745&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33745&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33745&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33745&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33745&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33745&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33745&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33745&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33745&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33745&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33745&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33745&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33745&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33745&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33745&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33745&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33745&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33745&r=mysqlcfg

Reply via email to