On 6/17/11 9:36 PM, Chas. Owens wrote:
#!/home/USERNAME/perl5/perlbrew/perls/perl-5.14.0/bin/perl
or
#!/usr/bin/env perl
perl foo.pl
Thank you Chas. for your insight! You suggested good ideas.
Unfortunately I get with all your suggestions the same errors like the
following:
$ perl intro6.pl
install_driver(mysql) failed: Can't load
'/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/darwin-2level/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/darwin-2level/auto/DBD/mysql/mysql.bundle,
1): Library not loaded: libmysqlclient.18.dylib
Referenced from:
/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/darwin-2level/auto/DBD/mysql/mysql.bundle
Reason: image not found at
/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/darwin-2level/DynaLoader.pm
line 194.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at intro6.pl line 12
There is something wrong with the DynaLoader:
/Users/mstep/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/darwin-2level/DynaLoader.pm
A nice weekend to all!
marek