in reply to Re^3: LD_LIBRARY_PATH setting
in thread LD_LIBRARY_PATH setting
#!/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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: LD_LIBRARY_PATH setting
by Corion (Patriarch) on Aug 05, 2016 at 19:14 UTC | |
by pdupre (Acolyte) on Aug 05, 2016 at 19:22 UTC | |
by Corion (Patriarch) on Aug 05, 2016 at 19:45 UTC | |
by pdupre (Acolyte) on Aug 05, 2016 at 20:50 UTC |