PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve
| From: | kard235 at lni dot wa dot gov | Date: | Wed, 29 Nov 2000 23:34:38 +0000 |
| Subject: | PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39653@lists.php.net to get a copy of this message | ||
ID: 7795
User Update by: kard235@lni.wa.gov
Old-Status: Feedback
Status: Open
Bug Type: Compile Failure
Description: Duplicate symbol gdImageColorResolve
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
Previous Comments:
---------------------------------------------------------------------------
[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