ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
DB_File Module not working
by Eric Robertson other posts by this author
Apr 25 2008 7:39AM messages near this date
Re: threads package missing is_running | PERL Telnet Script problem
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
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved