#!/usr/bin/perl BEGIN { $ENV{LD_LIBRARY_PATH} = "/usr/local/gsl-1/lib" ; exec $0, '--restarted', @ARGV ; } ; require Math::GSL ; use strict; use warnings; print $ENV{LD_LIBRARY_PATH}, "\n";
Can't load '/usr/lib/perl5/vendor_perl/auto/Math/GSL/Errno/Errno.so' +for module Math::GSL::Errno: libgsl.so.0: cannot open shared object f +ile: No such file or directory at /usr/lib/perl5/DynaLoader.pm line 1 +93. at /usr/lib/perl5/vendor_perl/Math/GSL/Errno.pm line 11. Compilation failed in require at /usr/lib/perl5/vendor_perl/Math/GSL/T +est.pm line 7. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Math/G +SL/Test.pm line 7. Compilation failed in require at /usr/lib/perl5/vendor_perl/Math/GSL.p +m line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Math/G +SL.pm line 10. Compilation failed in require at ./test.pl line 10.
In reply to Re^4: LD_LIBRARY_PATH setting
by pdupre
in thread LD_LIBRARY_PATH setting
by pdupre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |