K
kj
I'm trying to install XML::Xerces via the usual
perl Makefile.PL
make
make test
make install
I'm getting wholesale failure at the "make test" stage, with error
messages such as this:
Can't load '/home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so' for module XML::Xerces: /home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so: undefined symbol: _Q211xercesc_2_316XMLPlatformUtils.fgMemoryManager at /opt/lib/perl5/5.8.3/i686-linux/DynaLoader.pm line 229.
at /home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/AttributeList.t line 11.
It is not *entirely* clear to me why I'm getting this undefined
"symbol error" now, but not during the earlier "make" stage (which
proceeded without a hitch).
FWIW, the problematic symbol
_Q211xercesc_2_316XMLPlatformUtils.fgMemoryManager is mentioned
both in ./blib/arch/auto/XML/Xerces/Xerces.so and in
../Xerces.o.
One potential source of difficulty is the fact that I'm working
with a Perl that is installed with a non-standard prefix (/opt
instead of /usr or /usr/local), but I have not seen this kind of
problem before when I have installed other modules, including
several whose installation included *.so files.
Any ideas?
Thanks!
kj
perl Makefile.PL
make
make test
make install
I'm getting wholesale failure at the "make test" stage, with error
messages such as this:
Can't load '/home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so' for module XML::Xerces: /home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so: undefined symbol: _Q211xercesc_2_316XMLPlatformUtils.fgMemoryManager at /opt/lib/perl5/5.8.3/i686-linux/DynaLoader.pm line 229.
at /home/jones/.cpan/build/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/AttributeList.t line 11.
It is not *entirely* clear to me why I'm getting this undefined
"symbol error" now, but not during the earlier "make" stage (which
proceeded without a hitch).
FWIW, the problematic symbol
_Q211xercesc_2_316XMLPlatformUtils.fgMemoryManager is mentioned
both in ./blib/arch/auto/XML/Xerces/Xerces.so and in
../Xerces.o.
One potential source of difficulty is the fact that I'm working
with a Perl that is installed with a non-standard prefix (/opt
instead of /usr or /usr/local), but I have not seen this kind of
problem before when I have installed other modules, including
several whose installation included *.so files.
Any ideas?
Thanks!
kj