This does not work and I receive an error that perl cannot load the library. It's the right path - if I set my environment's LD_LIBRARY_PATH to that, the script doesnt complain. Running on SunOS 5.7...#!/sw/perl5.6/bin/perl -I. -w use strict; use Env qw(@LD_LIBRARY_PATH); BEGIN { push @LD_LIBRARY_PATH, "/usr/local/sybase/lib"; } use Sybase::DBlib;
In reply to programatically setting the LD_LIBRARY_PATH by LanceDeeply
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |