ID: 20498
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: SuSE Linux 8.0
PHP Version: 4.3.0RC1
New Comment:
Yes, /usr/lib contains the original SuSE expat. But I�ve linked
everything (sablotron, apache, php) with a statically
build expat located in usr/local/lib.
Shall I reproduce the problem making sure, that there is only
my expat available?
Previous Comments:
------------------------------------------------------------------------
[2002-11-21 18:20:07] [EMAIL PROTECTED]
Do you have more then 1 expat library installed on your computer?
------------------------------------------------------------------------
[2002-11-19 12:32:59] [EMAIL PROTECTED]
./configure --with-apxs=/usr/local/bin/apxs \
--with-mysql=/usr/local \
--disable-shared \
--enable-bcmath \
--enable-ftp \
--enable-mbstring \
--enable-wddx \
--enable-xslt \
--with-expat-dir=/usr/local \
--with-gettext=/usr/local \
--with-openssl=/usr/local \
--with-imap=/usr/local \
--with-imap-ssl=/usr/local \
--with-xslt-sablot=/usr/local \
--with-zlib \
--with-zlib-dir=/usr/local \
--with-gd=/usr/local \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
make fails with lots of
/home/cbleek/Sources/XML/expat/lib/xmlrole.c(.text+0x15d0): multiple
definition of `XmlPrologStateInitExternalEntity'
/usr/local/lib/libexpat.a(xmlrole.o)(.text+0x15d0):/home/cbleek/Sources/XML/expat/lib/xmlrole.c:
first defined here
After removing one "-lexpat" from the $EXTRA_LIBS in the
main Makefile, compilation works fine.
This error existed in the 4.2.3 too, There the config_vars.mk (or so)
had to be modified.
\carsten
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20498&edit=1