I am trying to install PHP4 as a static module for Apache.
I think I have installed all the necessary libraries to install PHP4 with JPEG and Freetype support. However, when configuring PHP4 something goes wrong.
It seems that 'gdImageCreateFromJpeg' can not be found in the GD library. Why is this ? I have used version 1.8.3 which supports JPEG.
Relevant output from 'configure':
checking whether to include GD support... yes (static)
checking for gdImageString16 in -lgd... (cached) yes
checking for compress in -lz... (cached) yes
checking for png_info_init in -lpng... (cached) yes
checking for libjpeg (needed by gd-1.8+)... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) no
checking for libXpm (needed by gd-1.8+)... yes
checking whether to include ttf support... yes
The configure command:
./configure '--with-apache=../apache' '--with-mysql' '--with-gd=/usr/local/gd' '--with-gettext' '--with-xml' '--with-ftp' '--with-ttf' '--with-jpeg-dir' '--with-zlib' '--with-xpm-dir=/usr/X11R6/lib' --enable-track-vars'