Re: Re: compiling php with libjpg64

From: Date: Wed, 04 Mar 2009 13:51:03 +0000
Subject: Re: Re: compiling php with libjpg64
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-289229@lists.php.net to get a copy of this message
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.
      
  


« previous php.general (#289229) next »