I m installing PHP with support for a GD graphics library (following instructions i got here at webmonkey)
i successfully installed all the prerequisites, libjpeg, libpng, libgd, etc.. but when it came time to install PHP, the configure script failed. i told it this:
and it told me this:
incidentally, this file does indeed exist here: /sw/lib/libjpeg.a
so why would libjpeg not be found? thanks for any help.
i successfully installed all the prerequisites, libjpeg, libpng, libgd, etc.. but when it came time to install PHP, the configure script failed. i told it this:
Code:
./configure --with-gd=/sw/lib --with-jpeg-dir=/sw/lib --with-zlib-dir=/sw/lib
and it told me this:
Code:
checking for the location of libjpeg... yes
configure: error: libjpeg.(a|so) not found.
incidentally, this file does indeed exist here: /sw/lib/libjpeg.a
Code:
% ls /sw/lib/libjpeg.*
/sw/lib/libjpeg.62.0.0.dylib /sw/lib/libjpeg.a /sw/lib/libjpeg.la
/sw/lib/libjpeg.62.dylib /sw/lib/libjpeg.dylib
Code:
% fink list | grep jpeg
i libjpeg 6b-5 JPEG image format handling library
i libjpeg-bin 6b-5 JPEG image format handling library
i libjpeg-shlibs 6b-5 JPEG image format handling library
so why would libjpeg not be found? thanks for any help.