Presumably, your two Perl versions aren't binary compatible. XML::LibXML isn't a pure-Perl module, so its associated compiled components (shared libraries) have to match the perl binary...
What do /usr/bin/perl -v and /usr/local/bin/perl -v say?
Examples of incompatibilities are: different major version of Perl (e.g. 5.8 vs. 5.10), 32-bit vs. 64-bit, built with/without threading support.
How to resolve this?
Either install separate versions of XML::LibXML - each one built for the respective perl binary (and make sure to dynamically set the correct lib paths (@INC) if you install them in non-standard places), or make sure the appropriate perl binary is always being used with the one existing version of XML::LibXML.
In reply to Re: Two versions of Perl causing coredump
by almut
in thread Two versions of Perl causing coredump
by chilukuri_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |