Running: php-4.0.6, gd-2.0.1, jpeg-6b, libpng-1.0.10, zlib-1.1.3
And getting this error: \"ImageCreateFromJpeg: No JPEG support in this PHP build\"
I made sure GD is set to use JPEG in the Makefile:
CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG
LIBS=-lgd -lpng -lz -ljpeg -lm
And with PHP I add the following to ./configure:
--with-gd=/usr -with-jpeg-dir=/usr/local --with-png-dir=/usr --with-zlib-dir=/usr
Yet, JPEG functions don\'t work (PNG functions work just fine). What\'s strange is that PHP reports that it finds JPEG support during the ./configure process:
\"checking for gdImageCreateFromJpeg in -lgd... yes\"
yet GD gives no JPEG indicator during the \"make install\" process (not sure if this is normal or not).
Everything is basically standard on my setup and everthing else is working just fine. There\'s only one quirk with my PHP in that phpinfo() reports old \"Configure Commands\" and an older version of mySQL, however newer information in other areas (like the GD/PNG/ZLIB reporting). This happens even after I build PHP by first removing the cache file and doing a cvsclean.
I\'ve wend around and around with this and can\'t figure out what\'s missing. I really need 16 million color jpeg support so gd-2.0.1 is the only version I can use. Am I missing something? Is there some trick? Maybe something to look for to find out where the SNAFU is?
Thanks, Bob.