configure doesn't find libjpeg
| From: | akorthaus at web dot de | Date: | Tue, 21 Jan 2003 15:58:50 +0000 |
| Subject: | configure doesn't find libjpeg | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9756@lists.php.net to get a copy of this message | ||
Hello!
I'm trying to compile PHP 4.3.0 for the first time by myself. My OS is
RedHat Linux 8.0, Webserver Apache 2.0.37. I want use php as Apache-Module.
This worked fine with original RedHat Version of PHP(4.2.2).
I configure --with-jpeg-dir=/usr. If I do so, I get "configure error, can't
find libjpeg.(a|so)"
I tried "find -name libjepeg.*"
and I found
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
So I tried to use --with-jpeg-dir=/usr/lib
but I got the same error.
So I downloaded the whole jpeg-library again(from given link in php-manual),
and put libjepeg.a to
/usr/local/share, and tried --with-jpeg-dir=/usr/local/share, also without
success(same error-message). Before each configure I deleted the php-4.3.0
DIR and extracted it again from the archiv.
What could be the problem? I don't know what to do now. If I don't
use --with-jpeg
PHP works fine, but I need it!
Thank you!
kind regards,
Andreas