After upgrading to OSX Mavericks, I cannot start DBI / DBD.
Perl and MySQL are working fine (I can log into mysql and access my tables), but my Perl scripts can no longer use DBI, as the updater removed all my previously working Perl modules.
I reinstalled DBI and DBD :: mysql using CPAN, which installed them in / opt / local / lib / perl 5 / site_perl / 5.12.4 / darwin-multi-2level /. After copying the modules (DBI, DBD and everything in the "auto") to / Library / Perl / 5.16 / darwin-multi-2level / (since the directory used by cpan is not in @INC), my scripts return an internal server error (even with FatalsToBrowser).
The Apache error log says:
dyld: lazy symbol binding failed: Symbol not found: _Perl_Istack_sp_ptr Referenced from: /opt/local/lib/perl5/site_perl/5.12.4/darwin-multi-2level/auto/DBI/DBI.bundle Expected in: flat namespace dyld: Symbol not found: _Perl_Istack_sp_ptr Referenced from: /opt/local/lib/perl5/site_perl/5.12.4/darwin-multi-2level/auto/DBI/DBI.bundle Expected in: flat namespace Premature end of script headers: test.pl
What is the problem? Maybe because I copied the files? Maybe I should force CPAN to install directly on / Library / Perl / 5.16 /? How can I tell CPAN to do this?
Any ideas?
perl dbi osx-mavericks macos dbd
marluxor
source share