Bug #17993 Updated: external GD compile failure

From: Date: Tue, 02 Jul 2002 07:39:15 +0000
Subject: Bug #17993 Updated: external GD compile failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12774@lists.php.net to get a copy of this message
ID: 17993 Updated by: cox@php.net -Summary: bundled GD compile failure Reported By: cox@idecnet.com -Status: Feedback +Status: Bogus Bug Type: GD related Operating System: Linux PHP Version: 4.0CVS-2002-06-26 New Comment: Finally did some test on others boxes and the compilation went right. Looking more in deep at my system, I found another /usr/local/include/gd.h (apart from the original /usr/include/gd.h) that was probably causing that error. Sorry for making you loose your time on this. Thanks, Tomas V.V.Cox 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 (#12774) next »