Bug #17993 Updated: bundled GD compile failure

From: Date: Thu, 27 Jun 2002 11:29:43 +0000
Subject: Bug #17993 Updated: bundled GD compile failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12229@lists.php.net to get a copy of this message
ID: 17993 Updated by: mfischer@php.net Reported By: cox@idecnet.com -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: Linux PHP Version: 4.0CVS-2002-06-26 New Comment: No user error (yet), not bogus, reopening. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-06-26 16:17:37] cox@idecnet.com No errors with: ./configure --prefix=/usr \ --with-gd=php \ --without-mysql \ --with-zlib \ --disable-cli The error I reported: ./configure --prefix=/usr \ --with-gd \ --without-mysql \ --with-zlib \ --disable-cli Same error: ./configure --prefix=/usr \ --with-jpeg-dir=/usr \ --with-gd \ --without-mysql \ --with-zlib \ --disable-cli ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # rpm -q gd gd-devel libjpeg-devel gd-1.8.1-2 gd-devel-1.8.1-2 libjpeg-devel-6b-7 Don't hesitate to request more info. ------------------------------------------------------------------------ [2002-06-26 12:43:00] rasmus@php.net Oh, and by the way, you are not getting the bundled GD with that configure line. You need to use --with-gd=php currently to get the bundled one. ------------------------------------------------------------------------ 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 (#12229) next »