On Monday, February 3, 2003, at 05:30 AM, Gian Luca Gaiba wrote:
I didn't - I had older versions installed under both 5.6.0 (1.27) & 5.8.0 (1.39), and upgraded both to the latest (1.42).I've encountered this problem installing XML::DOM module on MacOSX with perl 5.8.0 installed...Dyld: perl undefined Symbol Does anyone had the same?
I had only a single problem - under 5.8.0, a single test failed with the following output:
t/dom_jp_print........FAILED test 2
I'm not certain of all the modules XML::DOM depends upon, but if one of its dependencies has a C library component, 5.8.0 could be attempting to load the old 5.6.0 copy of that module. This can happen if:Some suggestion?
1. You follow Apple's suggestion of installing 5.8.0 into /Library/Perl, but you already had some 5.6.0 modules installed there.
2. You used Fink to install a relevant module instead of CPAN.
Delete and re-compile the problem module. If I recall correctly, that's probably XML::Parser; it uses Expat, a C library, and it's used by XML::DOM.Solutions?
Note that, if 5.6.0 and 5.8.0 are sharing /Library/Perl, as they are if you followed Apple's instructions for upgrading to 5.8.0, the recompiled XML::Parser module will no longer work with 5.6.0. If you need to keep functional copies of both versions of Perl, for regression testing of your scripts for example, you'll need to install them in separate directories to avoid conflicts.
sherm--
Welcome to Rivendell, Mr. Anderson.