PHP 4.0 Bug #9400 Updated: Duplicate symbol with GD

From: Date: Thu, 08 Mar 2001 23:58:59 +0000
Subject: PHP 4.0 Bug #9400 Updated: Duplicate symbol with GD
Groups: php.dev 
Request: Send a blank email to php-dev+get-48332@lists.php.net to get a copy of this message
ID: 9400 Updated by: sniper Reported By: l_faillie@yahoo.com Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: Might be that the Apache in HP-UX expects .so instead of .sl ? Try renaming the libphp4.sl to libphp4.so --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-08 11:20:28] l_faillie@yahoo.com Hello all, Arg, the system disk of my workstation has died so i have reinstalled all stuffs from scratch ... and this time it's compiling ok :-))) But i have also added the _IN_ADDR_T. I think the problem was from a precompiled package I got from HP-UX porting center :-( This time, I have recompiled all stuff. But now, I have a problem for the installation : gmake install ... gmake[1]: Entering directory `/datas/depot/php-4.0.4pl1' /usr/local/apache/bin/apxs -i -a -n php4 libs/libphp4.sl apxs:Error: file libs/libphp4.sl is not a DSO gmake[1]: *** [install-sapi] Error 1 gmake[1]: Leaving directory `/datas/depot/php-4.0.4pl1' gmake: *** [install-recursive] Error 1 Any clue ? Thanks for your help. --------------------------------------------------------------------------- [2001-02-22 18:55:36] sniper@php.net Maybe 'make clean' would help? --Jani --------------------------------------------------------------------------- [2001-02-22 08:34:58] l_faillie@yahoo.com Hello all, i have severals problem when compiling php-4.0.4pl1 under my HP-UX 10.20 box at work. I use : apache_1.3.17 with mod_so gd-1.8.4 postgresql-7.0.3 gcc version 2.95.2 configure --with-ndbm --with-ftp --with-gd --with-pgsql --enable-sockets --with-apxs=/usr/local/apache/bin/apxs 1/ First of all, it seems HP's include files are broken, so I have added #define _IN_ADDR_T at the beginning of sockets.c otherwith i got a "dupplicate symbole error". 2/ I got a linker error /bin/sh /datas/depot/php-4.0.4pl1/libtool --silent --mode=link gcc -I. -I/datas/depot/php-4.0.4pl1/ -I/datas/depot/php-4.0.4pl1/main -I/datas/depot/php-4.0.4pl1 -I/usr/local/apache/include -I/datas/depot/php-4.0.4pl1/Zend -I/usr/local/include -I/datas/depot/php-4.0.4pl1/ex t/mysql/libmysql -I/datas/depot/php-4.0.4pl1/ext/xml/expat/xmltok -I/datas/depot/php-4.0.4pl1/ext/xml/expat/xmlparse -I/datas/depot/php-4.0.4 pl1/TSRM -DHPUX10 -DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=21 -g -O2 -o libphp4.la -rpath /datas/depot/php-4.0.4pl1/libs -avoid-version -L/usr/local/lib -L/usr/local/pgsql/lib -R /usr/local/lib -R /usr/local/pgsql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/lib main.la regex/libregex.la ext/dba/libdba.la ext/gd/libgd.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la ext/posix/libpo six.la ext/session/libsession.la ext/sockets/libsockets.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpq -lttf -lgd -lm -lcrypt /usr/ccs/bin/ld: Duplicate symbol "gdImageColorResolve" in files .libs/libphp4.lax/libgd.al/gd.lo and /usr/local/lib/libgd.a(gd.o) /usr/ccs/bin/ld: Duplicate symbols are not allowed in shared libraries *** Error exit code 1 Stop. *** Error exit code 1 Stop. Someone has a tips about this error ? Thanks for your help - Laurent --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9400&edit=2

« previous php.dev (#48332) next »