Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: perl script to run as non-root

by McA (Priest)
on Oct 16, 2014 at 14:02 UTC ( [id://1104058]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1104058]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-23 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found