Hi everybody,

I have to compile from source for several reasons. Any idea on how to fix this particular problem with the lib64?

Regards, merlin

Shawn McKenzie schrieb:
Ashley Sheridan wrote:
On Fri, 2009-02-27 at 12:43 -0600, Shawn McKenzie wrote:
Merlin Morgenstern wrote:
Hi there,

I am trying to get a 64 bit suse 10.3 system to run with php 5. Somehow
it does not recognize the libjpg which is definatelly in place:

server:/home/sw/php-5.2.9 # './configure' '--enable-fastcgi'
'--with-mysql=/usr/local/mysql' '--prefix=/usr/local/php'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring'
'--with-pdo-mysql=/usr/local/mysql/' '--enable-soap'
'--with-zlib-dir=/usr/lib64' '--with-freetype-dir=/usr/lib64'
'--with-gd' '--with-jpeg-dir=/usr/lib64' '--with-png-dir=/usr/lib64'
'--enable-exif' '--with-pdflib=/usr/local' > configure.txt

configure: warning: bison versions supported for regeneration of the
Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found:
configure: warning: flex versions supported for regeneration of the
Zend/PHP parsers: 2.5.4  (found: 2.5.33)
configure: warning: You will need re2c 0.13.4 or later if you want to
regenerate PHP parsers.
configure: error: libjpeg.(a|so) not found.

# locate libjpeg.so

# locate libjpeg.a

I am kind of lost with this one. I can not find the error. Has somebody
an idea how to fix this?

Thank you for any help, Merlin
Might try adding:  --with-libdir=lib64


I've got Suse10.3 on my laptop, all 64-bit, and running the correct
graphics libraries which I use for GD. I used Yast to install the whole
thing, as it sorts out everything for me. For Suse, I'd recommend it, as
it really is a great admin tool, albeit a little slow when building
repository lists when you install things!


Yes, I always use a package from whatever distro (ubuntu for my desktop
for several years and fedora on my web host).  I've never needed to
compile apache/php/mysql or most anything else.  Sometimes there's
something that I want that you can only get from source, but normally
that builds easily for me.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to