Help: DynaLoader.pm chokes on "undefined symbol"

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top