PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve

From: Date: Mon, 04 Dec 2000 14:38:28 +0000
Subject: PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve
Groups: php.dev 
Request: Send a blank email to php-dev+get-39975@lists.php.net to get a copy of this message
ID: 7795 Updated by: sniper Reported By: kard235@lni.wa.gov Status: Feedback Bug Type: Compile Failure Assigned To: Comments: Sorry for duplicate emails about this..could you try adding the base install dir of GD to the --with-gd parameter? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-29 18:34:38] kard235@lni.wa.gov Version Info gd = 1.8.3 apache = 1.3.14 php = 4.0.3pl1 gcc = 2.95.2 gnu make = 3.79 gnu binutils = 2.9.1 flex = 2.5.4 gd has been verified to work correctly using GD.pm and perl. The PHP static module under apache compiles and installs only if I omit the --with-gd option. Here is my php configure line: ./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache_1.3.14 --enable-track-vars --enable-pic --with-gd --with-xpm-dir=/opt/xpm/lib/X11 --with-jpeg-dir=/usr/local/lib --with-ttf Here is my apache configure line: ./configure --activate-module=src/modules/php4/libphp4.a --enable-module=php4 --prefix=/usr/local/apache Here is the compiler error message: /usr/bin/ld: Duplicate symbol "gdImageColorResolve" in files modules/php4/libphp4.a(gd.o) and /usr/local/lib/libgd.a(gd.o) /usr/bin/ld: Found 1 duplicate symbol(s) collect2: ld returned 1 exit status gmake[2]: *** [target_static] Error 1 gmake[2]: Leaving directory `/opt/GNU/archive/apache_1.3.14/src' gmake[1]: *** [build-std] Error 2 gmake[1]: Leaving directory `/opt/GNU/archive/apache_1.3.14' gmake: *** [build] Error 2 --------------------------------------------------------------------------- [2000-11-29 16:46:35] sniper@php.net Could you please include your configure line into this bug report? And what is the version of the GD library ?? --Jani --------------------------------------------------------------------------- [2000-11-13 16:41:25] kard235@lni.wa.gov /usr/bin/ld: Duplicate symbol "gdImageColorResolve" in files modules/php4/libphp4.a(gd.o) and /usr/local/lib/libgd.a(gd.o) /usr/bin/ld: Found 1 duplicate symbol(s) collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/opt/GNU/archive/apache_1.3.14/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/opt/GNU/archive/apache_1.3.14' make: *** [build] Error 2 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7795

« previous php.dev (#39975) next »