Re: [GD-DEVEL] Problems installing gd on Debian Linux 4.0

From: Date: Wed, 22 Oct 2008 00:08:32 +0000
Subject: Re: [GD-DEVEL] Problems installing gd on Debian Linux 4.0
References: 1 2  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-493@lists.php.net to get a copy of this message
Thank you for responding, I have found the jpeg library in the following location: /usr/lib/libjpeg.so.62 However, when I use the configure arguments you suggested: ./configure --with-jpeg=/usr/ the script continues to miss the jpeg libraries:
** 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
Thanks, William On Tue, 21 Oct 2008 23:12:41 +0200 "Pierre Joye" <pierre.php@gmail.com> wrote:
On Tue, Oct 21, 2008 at 11:07 PM, William Hudspeth <wbhk@unm.edu> wrote:
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
it sounds wrong. it should be: ./configure --with-png=/usr/local/ --with-jpeg=/usr/ the prefix is necessary, not the include or lib directories. hi!
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.
Have you installed the development packages? Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- GD Devel Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gd.devel (#493) next »