Re: Re: compiling php with libjpg64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello JOchem,

thank you for your help. That worked out.

Regards, Merlin

Jochem Maas wrote:
google is your friend (and with friends like that who needs enemies):

try what's mentioned here:
http://www.linuxquestions.org/questions/linux-software-2/compiling-php-on-rhel-5-64-bit-685606/

otherwise:
http://www.google.com/search?q=compile+php+64+bit+libs

Merlin Morgenstern schreef:
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:
none).
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.

but:
# locate libjpeg.so
/usr/lib64/libjpeg.so
/usr/lib64/libjpeg.so.62
/usr/lib64/libjpeg.so.62.0.0

# locate libjpeg.a
/usr/lib64/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

--
Thanks!
-Shawn
http://www.spidean.com

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!


Ash
www.ashleysheridan.co.uk

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.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux