Re: PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve
| From: | Rasmus Lerdorf | Date: | Thu, 30 Nov 2000 00:41:39 +0000 |
| Subject: | Re: PHP 4.0 Bug #7795 Updated: Duplicate symbol gdImageColorResolve | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39655@lists.php.net to get a copy of this message | ||
This is an indication that the gd header files that PHP finds do not match
the gd library version it finds. Or perhaps that you have a libgd.a that
doesn't match your libgd.so. Regardless, somehow you have two different
versions of GD related stuff on your system. Reduce this to 1, rm
config.cache and try again.
-Rasmus
On 29 Nov 2000 kard235@lni.wa.gov wrote:
> 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
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>