Problems installing gd on Debian Linux 4.0

[email protected] (William Hudspeth) Tue, 21 Oct 2008 15:07:12 -0600
Newsgroups php.gd.devel
Message-ID <1224623232.5561.13.camel@localhost>
Hello,

I am trying to install gd-2.0.35 on Debian linux 4.0. I have installed
the libpng libraries from source, and the jpeg libraries using the
apt-cdrom installer. When I try to configure gd to use these libraries,
it cannot find those for jpeg. 


./configure --with-png=/usr/local/include/libpng12 --with-jpeg=/usr/lib

While I can see libjpeg in /usr/lib, the only possible reference to
libjpeg I see in the configuration output is:

checking for jpeg_set_defaults in -ljpeg... no

** Configuration summary for gd 2.0.34:

   Support for PNG library:          yes
   Support for JPEG library:         no
   Support for Freetype 2.x library: yes
   Support for Fontconfig library:   no
   Support for Xpm library:          no
   Support for pthreads:             yes

Otherwise, configure doesn't seem to be able to find jpeg...

I would appreciate any help on what I should be looking for when I use the --with-jpeg=... option.

Thanks, Bill