in reply to perl script to run as non-root
Hi,
the error is really self explaining. Perl is looking for a file named Sybase.pm in a directory DBD. The directories where Perl is looking for that file are enumerated in the error message.
So, as user root you do a perl -E'print map "$_\n", @INC' and you'll see whether there is an additional path Perl will look for that file. Most probably the environment of root has some additional paths or is using a different Perl environment.
Regards
McA
|
|---|