PHP 4.0 Bug #2990: ld: fatal: symbol `gdImageColorResolve' is multiply defined
| From: | david dot guillouet at art dot alcatel dot fr | Date: | Fri, 17 Dec 1999 11:20:20 +0000 |
| Subject: | PHP 4.0 Bug #2990: ld: fatal: symbol `gdImageColorResolve' is multiply defined | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13790@lists.php.net to get a copy of this message | ||
From: david.guillouet@art.alcatel.fr
Operating system: Solaris 2.6
PHP version: 4.0 Beta 3
PHP Bug Type: Installation problem
Bug description: ld: fatal: symbol `gdImageColorResolve' is multiply defined
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.