Bug #17993 Updated: bundled GD compile failure

From: Date: Thu, 27 Jun 2002 23:05:33 +0000
Subject: Bug #17993 Updated: bundled GD compile failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12273@lists.php.net to get a copy of this message
ID: 17993 Updated by: sniper@php.net Reported By: cox@idecnet.com Status: Feedback -Bug Type: Compile Failure +Bug Type: GD related Operating System: Linux PHP Version: 4.0CVS-2002-06-26 Previous Comments: ------------------------------------------------------------------------ [2002-06-27 19:05:24] sniper@php.net Do you have this in main/php_config.h: #define HAVE_LIBGD15 1 And what does this output: nm /usr/lib/libgd.so | grep gdImageCreateFromJpegCtx ------------------------------------------------------------------------ [2002-06-27 07:29:43] mfischer@php.net No user error (yet), not bogus, reopening. ------------------------------------------------------------------------ [2002-06-27 07:09:49] cox@idecnet.com (root) ~># rpm --verify gd gd-devel (root) ~># locate libgd. /usr/lib/libgd.a /usr/lib/libgd.so /usr/lib/libgd.so.1 /usr/lib/libgd.so.1.8.1 (root) ~># ll /usr/lib/libgd.* -rw-r--r-- 1 root root 205894 Jun 3 2000 /usr/lib/libgd.a lrwxrwxrwx 1 root root 14 Jun 3 2000 /usr/lib/libgd.so -> libgd.so.1.8.1* lrwxrwxrwx 1 root root 14 Jun 3 2000 /usr/lib/libgd.so.1 -> libgd.so.1.8.1* -rwxr-xr-x 1 root root 185176 Jun 3 2000 /usr/lib/libgd.so.1.8.1* I have not multiple versions or a messed GD installation. For me is the same to use the working version of bundled GD (awesome btw), but I still guess there is some problem in PHP with it the external GD. Tomas V.V.Cox ------------------------------------------------------------------------ [2002-06-26 16:53:51] sniper@php.net User error -> bogus. ------------------------------------------------------------------------ [2002-06-26 16:28:39] rasmus@php.net This is a pretty standard gd.h/libgd.a mismatch. You have multiple versions of GD installed in your default include and lib dirs. If you want to compile against your system's GD library, you need to install GD correctly on your system. Get rid of the multiple copies of gd.h/libgd.[a|so] that are likely floating around on your system, rm config.cache and try again. This was one of the reasons we ended up bundling GD. Why not just use the bundled GD. It is likely to be much more feature-complete and bug-free than any of your GD installs. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17993 -- Edit this bug report at http://bugs.php.net/?id=17993&edit=1

« previous php.bugs (#12273) next »