I'm trying to carry out some remote debugging with some Perl CGI scripts. My Mac with Leopard already had Perl installed but I needed some other Perl modules, including DB_File, so I installed ActivePerl in a separate directory, choosing the default one of /usr/local/ActivePerl-5.8/bin, and used PPM to install the missing modules. I changed PATH so that this directory came at the beginning.
I have a script that checks that the extra modules I need are loaded but when I include the DB_File as one of the required modules I get the following error (using Komodo to try and run this script): dyld: lazy symbol binding failed: Symbol not found: _db_version Referenced from: /usr/local/ActivePerl-5.8/site/lib/auto/DB_File/DB_File.bundle Expected in: dynamic lookup dyld: Symbol not found: _db_version Referenced from: /usr/local/ActivePerl-5.8/site/lib/auto/DB_File/DB_File.bundle Expected in: dynamic lookup I wonder if this is a problem with BerkeleyDB. I think at some stage in my checking I managed to avoid this error but I can't now recall what the circumstances were. I haven't installed BerkeleyDB but assumed that it was already available on the Mac. With a Windows installation of ActivePerl I don't have this problem with BerkeleyDB and I seem to recall that it came with ActivePerl but I don't know if this is the case with the Mac version. Searching for DB_File.pm I see that it's in /System/Library/Perl/5.8.8/darwin-thread-multi-2level/ as well as in /usr/local/ActivePerl-5.8/lib (and site/lib), and I wonder if the former is part of the pre-installed version of Perl and that this is somehow causing the problem I have. _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
