From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,10ddfca7ae5a50be,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-08-10 19:30:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsrelay.iastate.edu!news.iastate.edu!not-for-mail From: Zhiliang Hu Newsgroups: comp.unix.tru64 Subject: cron job PATH problem? Date: 11 Aug 2003 02:28:09 GMT Organization: Iowa State University, Ames, IA (USA) Message-ID: NNTP-Posting-Host: kh02052206-ans.ansci.iastate.edu X-Trace: news.iastate.edu 1060568889 19931 129.186.214.205 (11 Aug 2003 02:28:09 GMT) X-Complaints-To: news@iastate.edu NNTP-Posting-Date: 11 Aug 2003 02:28:09 GMT User-Agent: Xnews/5.04.25 Xref: archiver1.google.com comp.unix.tru64:10624 On a True64 system (UNIX4.0), I have a perl program to query Ingress database through DBI/DBD and it works fine on command line. However when I use cron job to run the program it complains: install_driver(Ingres) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/alpha- dec_osf/auto/DBD/Ingres/Ingres.so' for module DBD::Ingres: dlopen: cannot load /usr/local/lib/perl5/site_perl/5.8.0/alpha- dec_osf/auto/DBD/Ingres/Ingres.so at /usr/local/lib/perl5/5.8.0/alpha-dec_osf/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at /WWW/apache/share/cgi-bin/cgi-perl/array_list.pl line 27 I tried to fix it by adding more to the PATH in this program but didn't help at all. Wonder what could be the problem? Thanks in advance! Zhiliang