Compiling PHP with GD & JPEG support

I just recompiled PHP for the first time with GD support and it all went (surprisingly) smoothly. The only problem is I can't seem to get GD to support JPEGs. This is my configure command:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd' '--enable-exif' '--with-mysql=/usr' '--enable-discard-path' '--without-pear' '--enable-sockets' '--disable-short-tags' '--enable-versioning' '--with-zlib' '--with-gd' '--with-ttf' '--with-jpeg' '--with-jpeg-dir=/usr/lib'
I'm running fedora core 2 and jpeglib and jpeglib-devel are both present (installed with yum) yet the gd section of phpinfo does not report any jpeg information and imagecreatefromjpeg() fails with an 'undefined function' error. GIF and PNG work fine.

Any ideas?

 

 

 

 

Top