I constantly got this errormessage:
Can't load '/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI/DBI.bundle' for module DBI: dlopen(/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI/DBI.bundle, 1): Symbol not found: _PL_sv_no
Referenced from: /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI/DBI.bundle
Expected in: dynamic lookup
at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI.pm line 263
BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI.pm line 263.
Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/Mysql.pm line 11.
Compilation failed in require at /scripts/is_everything_there.pl line 4.
BEGIN failed--compilation aborted at /scripts/is_everything_there.pl line 4.
The clue for me was changing the PERL path from #!/usr/bin/perl to #!/opt/local/bin/perl . On Unix console try "which perl" to see what fits to your system.
I hope this helps somenone.
I constantly got this errormessage:
Can't load '/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI/DBI.bundle' for module DBI: dlopen(/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI/DBI.bundle, 1): Symbol not found: _PL_sv_no
Referenced from: /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI/DBI.bundle
Expected in: dynamic lookup
at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI.pm line 263
BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI.pm line 263.
Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/Mysql.pm line 11.
Compilation failed in require at /scripts/is_everything_there.pl line 4.
BEGIN failed--compilation aborted at /scripts/is_everything_there.pl line 4.
The clue for me was changing the PERL path from #!/usr/bin/perl to #!/opt/local/bin/perl . On Unix console try "which perl" to see what fits to your system.
I hope this helps somenone.
Got it DBD::mysql DBI issue
It has helped me, thank you.
AntwortenLöschenPS: (which has an 'h' in second letter)
I updatet my post. Thanks. It's good to hear from you.
AntwortenLöschenWhat's the difference between these two binaries? What you suggest works, but I have a lot of scripts that's using #!/usr/bin/perl. I don't really want to change all the files. I was thinking about switching out the two binaries, but I was wondering what the ramification might be.
AntwortenLöschenThanks!