Re: compiling php with libjpg64
| From: | Shawn McKenzie | Date: | Fri, 27 Feb 2009 18:43:47 +0000 |
| Subject: | Re: compiling php with libjpg64 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288939@lists.php.net to get a copy of this message | ||
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