in reply to Two versions of Perl causing coredump
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Two versions of Perl causing coredump
by DrHyde (Prior) on Oct 12, 2009 at 09:41 UTC |