This perl program: > #!/usr/bin/perl > use File::Util; generates this error: > dyld: lazy symbol binding failed: Symbol not found: > _Perl_xs_apiversion_bootcheck > Referenced from: /usr/local/ActivePerl-5.14/lib//auto/Fcntl/Fcntl.bundle > Expected in: dynamic lookup > > dyld: Symbol not found: _Perl_xs_apiversion_bootcheck > Referenced from: /usr/local/ActivePerl-5.14/lib//auto/Fcntl/Fcntl.bundle > Expected in: dynamic lookup > > Trace/BPT trap: 5 I'm running on OS X 10.7.3 > $ uname -a > Darwin ArthursMacBook.local 11.3.0 Darwin Kernel Version 11.3.0: Thu > Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64 with activestate perl 14.10.2: > $ perl -version > > This is perl 5, version 14, subversion 2 (v5.14.2) built for > darwin-thread-multi-2level > (with 1 registered patch, see perl -V for more detail) > > Copyright 1987-2011, Larry Wall > > Binary build 1402 [295342] provided by ActiveState > http://www.ActiveState.com > Built Oct 7 2011 15:58:41 which I just installed. I just cpan'ed File::Util: > $ sudo cpan File::Util > Password: > Set up build environment without MacOSX10.5 SDK (will build i386 binaries) > CPAN: Term::ANSIColor loaded ok (v3.01) > CPAN: Storable loaded ok (v2.30) > Going to read '/Users/goldbera/.cpan/Metadata' > Database was generated on Mon, 12 Mar 2012 17:10:28 GMT > CPAN: Module::CoreList loaded ok (v2.55) > File::Util is up to date (3.27).
however this system was migrated from an earlier Mac OS via the great "Migration Assistant". so @INC contains some old directories, that are not empty: > @INC contains: /usr/local/ActivePerl-5.14/lib/ > /usr/local/ActivePerl-5.14/site/lib/ > /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 > /Network/Library/Perl/5.12/darwin-thread-multi-2level > /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 > /System/Library/Perl/5.12/darwin-thread-multi-2level > /System/Library/Perl/5.12 > /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.12 . Thanks for your help Arthur _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs