PHP Compiling. libtool failure, multiply defined
| From: | Pierre H. Roussel | Date: | Mon, 05 Aug 2002 16:17:37 +0000 |
| Subject: | PHP Compiling. libtool failure, multiply defined | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8012@lists.php.net to get a copy of this message | ||
I cannot get around a compilation of the PHP binaries, having the following
linking failure, related to duplicate symbol declaration between two
libraries.
Does anyone has a clue for a workaround? I have PHP working but can't
install
the ODBC/Openlink Dynamic libraries, and there can't talk to the database.
Thanks
Pierre Roussel
proussel@tsgcorp.com
//usr/lib/libsocket.so.1: fatal error: symbol
_res multiply defined in two
sha
red objects /usr/lib/libresolv.so: size = 512; //usr/lib/libsocket.so.1:
size = 448
Platform SCO OpenServer 5 - 5.0.6
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
./configure \
--with-libgcc \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/lib/php \
--enable-shared \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-ftp \
--enable-wddx \
--without-mysql \
--without-oracle \
--without-oci8 \
--with-iodbc=/u/openlink/odbcsdk \
--with-xml
/bin/ksh /local/php-4.2.1/libtool --silent --mode=link
gcc -I. -I/local/php-4.2
.1/ -I/local/php-4.2.1/main -I/local/php-4.2.1 -I/u/openlink/odbcsdk/include
-I/
usr/local/apache/include -I/local/php-4.2.1/Zend -I/u/openlink/odbcsdk/inclu
de -
I/local/php-4.2.1/ext/xml/expat -DSCO5 -DMOD_SSL=208110 -DEAPI -DUSE_EXPAT
-DND
EBUG -I/local/php-4.2.1/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath
/local/ph
p-4.2.1/libs -avoid-version -L/u/openlink/odbcsdk/lib -R
/u/openlink/odbcsdk/li
b stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la
regex/libregex
.la /local/php-4.2.1/ext/ctype/libctype.la
/local/php-4.2.1/ext/ftp/libftp.la /l
ocal/php-4.2.1/ext/odbc/libodbc.la /local/php-4.2.1/ext/pcre/libpcre.la
/local/p
hp-4.2.1/ext/posix/libposix.la /local/php-4.2.1/ext/session/libsession.la
/local
/php-4.2.1/ext/standard/libstandard.la
/local/php-4.2.1/ext/sysvsem/libsysvsem.l
a /local/php-4.2.1/ext/sysvshm/libsysvshm.la
/local/php-4.2.1/ext/wddx/libwddx.l
a /local/php-4.2.1/ext/xml/libxml.la
TSRM/libtsrm.la -L/u/openlink/odbcsdk/lib -
liodbc -lcrypt -lresolv -lm -ldl -lsocket -lcrypt -ldl
libtool: link: warning: library `/u/openlink/odbcsdk/lib/libiodbc.la' was
moved.
//usr/lib/libsocket.so.1: fatal error: symbol _res multiply defined in two
sha
red objects /usr/lib/libresolv.so: size = 512; //usr/lib/libsocket.so.1:
size =
448