Re: PHP4 and JPEG How To PART II (for PHP4, the release)

From: Date: Tue, 30 May 2000 03:40:47 +0000
Subject: Re: PHP4 and JPEG How To PART II (for PHP4, the release)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-19726@lists.php.net to get a copy of this message
> If i do all of this using PHP4, -- the released version --, > then my end result looks like this: > ... > checking whether to include GD support... yes (static) > checking for gdImageString16 in -lgd... (cached) no > checking for compress in -lz... (cached) no > checking for png_info_init in -lpng... (cached) no > checking for gdImageColorResolve in -lgd... (cached) no > checking for gdImageCreateFromPng in -lgd... (cached) no > checking for gdImageCreateFromGif in -lgd... (cached) no > 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 whether to include ttf support... no > ... I' had that problem myself for a while - can't remember how I fixed it. The problem is that when configure builds the little program to test (for example) gdImageColorResolve exists in libgb, it's not linking the other libraries that GD itself needs (libz, libjpeg from memory). Hence the compile fails, and the feature is therefore not detected. Check your config.log, and compile the bit of code there. From memory, I modified the configure script to add those libraries to LIBS. Simon

« previous php.dev (#19726) next »