Your GD library probably wasn't compiled with jpeg support.
-Rasmus
On Sun, 14 Jan 2001, Joakim Bomelin wrote:
> Hi.
> I'm trying to compile PHP with jpeg-support, but it doesn't seem to work.
> my configure-line looks like this: "./configure
> --with-apxs=/usr/local/apache/bin/apxs --with-ldap --with-mysql --with-gd
> --with-jpeg-dir=/usr --with-png --with-zlib --with-ttf" and when I run it I
> get:
> checking for libjpeg (needed by gd-1.8+)... yes
> checking for jpeg_read_header in -ljpeg... yes
> checking for gdImageCreateFromJpeg in -lgd... no
>
> imagePng() and imagettftext() is working, so PNG and Freetype is compiled
> in. imageJpeg(), how ever, does NOT work.
>
> Any ideas on how I can solve this problem?
>
> /Joakim
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]