php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2990 ld: fatal: symbol `gdImageColorResolve' is multiply defined
Submitted: 1999-12-17 06:20 UTC Modified: 1999-12-26 10:07 UTC
From: david dot guillouet at art dot alcatel dot fr Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 3 OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david dot guillouet at art dot alcatel dot fr
New email:
PHP Version: OS:

 

 [1999-12-17 06:20 UTC] david dot guillouet at art dot alcatel dot fr
I'm attempting to compile php as an apache module with the following configuration:  ( as in bug #2743 PHP 3.0.12 ) with apache 1.3.9

./configure --with-mysql --with-apache=../apache_1.3.9
make
make install

cd ../apache_1.3.9
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a

make
.
.
<=== src/modules
gcc -c  -I./os/unix -I./include   -DSOLARIS2=260 -I/webgcl/temp/php-4.0b3 -I/webgcl/temp/php-4.0b3/libzend -I/webgcl/temp/php-4.0b3/libzend -I/webgcl/temp/php-4.0b3 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DSOLARIS2=260 -I/webgcl/temp/php-4.0b3 -I/webgcl/temp/php-4.0b3/libzend -I/webgcl/temp/php-4.0b3/libzend -I/webgcl/temp/php-4.0b3 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci` buildmark.c
gcc  -DSOLARIS2=260 -I/webgcl/temp/php-4.0b3 -I/webgcl/temp/php-4.0b3/libzend -I/webgcl/temp/php-4.0b3/libzend -I/webgcl/temp/php-4.0b3 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  -R/webgcl/outils/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lgd -lm  -lresolv  -lnsl -lsocket -lcrypt -lgdbm -L/webgcl/outils/lib/mysql -lmysqlclient     -lpam   -lsocket -lnsl
ld: fatal: symbol `gdImageColorResolve' is multiply defined:
        (file modules/php4/libphp4.a(gd.o) and file /gco/outils/lib/libgd.a(gd.o));
ld: fatal: File processing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/webgcl/temp/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/webgcl/temp/apache_1.3.9'
make: *** [build] Error 2


Regards,
thanx.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-26 10:07 UTC] rasmus at cvs dot php dot net
This is fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 18:00:02 2026 UTC