[Expat-discuss] expat conflict with apache
Christian Wattinger
cw@intergga.ch
Tue, 03 Jul 2001 16:01:56 +0200
hi
i installed expat and the perl-module XML::Parser onto
my mac osx machine.
when i run a CGI -it makes use of XML::Parser which uses EXPAT -
under my apache/mod_perl server it generates an error saying:
------------
dyld: /usr/sbin/httpd multiple definitions of symbol _XML_DefaultCurrent
/usr/sbin/httpd definition of _XML_DefaultCurrent
/Library/Perl/darwin/auto/XML/Parser/Expat/Expat.bundle definition of
_XML_DefaultCurrent
-------------
the CGI script runs fine in the tcsh-shell
on first try i only removed the
/Library/Perl/darwin/auto/XML/Parser/Expat/Expat.bundle
but of course this makes it worse saying:
---------------
[Tue Jul 3 15:27:30 2001] [error] PerlRun: `Can't locate loadable object
for module
XML::Parser::Expat in @INC (@INC contains: /System/Library/Perl/darwin
/System/Library/Perl
/Library/Perl/darwin /Library/Perl /Library/Perl
/Network/Library/Perl/darwin /Network/Library/Perl
/Network/Library/Perl /usr/ /usr/lib/perl) at
/Library/Perl/darwin/XML/Parser.pm line 15
Compilation failed in require at /Library/Perl/darwin/XML/Parser.pm line 15
during global destruction.
BEGIN failed--compilation aborted at /Library/Perl/darwin/XML/Parser.pm line
19 during global destruction.
Compilation failed in require at /Library/Perl/Create_Sentence.pm line 4
during global destruction.
BEGIN failed--compilation aborted at /Library/Perl/Create_Sentence.pm line 4
during global destruction.
Compilation failed in require at /Library/Perl/Speak.pm line 5 during global
destruction.
[Tue Jul 3 15:27:30 2001] [error] Can't locate object method "uri" via
package
"Apache::PerlRun" at /System/Library/Perl/darwin/Apache/PerlRun.pm line 212
during global destruction.
--------------
obviously i cant remove
/usr/sbin/httpd
well its the apache server...
any ideas?
cheers
christian