RE: I have a weird issue with a script running under cron

2014-02-17 Thread L Y Lam
Not like interactive logon, cron does not run your ".profile". It might be crazy to ask whether you have explicitly executed your ".profile" before invoking your Perl script. L Y -Original Message- From: Bruce Johnson [mailto:john...@pharmacy.arizona.edu] Sent: 18 February, 2014 06:44 Cc

Re: I have a weird issue with a script running under cron

2014-02-17 Thread Bruce Johnson
On Feb 17, 2014, at 2:48 PM, John D Groenveld wrote: > In message <5302803c.4080...@triad.rr.com>, Richie writes: >> Is LD_LIBRARY_PATH exported? It's hard to see whats going on without a >> full test case. > > The OP shouldn't need to set a LD_LIBRARY_PATH so long as > he built DBD::Oracle w

Re: I have a weird issue with a script running under cron

2014-02-17 Thread John D Groenveld
In message <5302803c.4080...@triad.rr.com>, Richie writes: >Is LD_LIBRARY_PATH exported? It's hard to see whats going on without a >full test case. The OP shouldn't need to set a LD_LIBRARY_PATH so long as he built DBD::Oracle with the correct runtime link path, but a simple shell script to see

Re: I have a weird issue with a script running under cron

2014-02-17 Thread Richie
Is LD_LIBRARY_PATH exported? It's hard to see whats going on without a full test case. On 2/17/2014 1:50 PM, Bruce Johnson wrote: On Feb 17, 2014, at 11:41 AM, Bruce Ferrell wrote: Bruce, The error says your script is attempting to load /usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so f

Re: I have a weird issue with a script running under cron

2014-02-17 Thread Bruce Johnson
On Feb 17, 2014, at 11:41 AM, Bruce Ferrell wrote: > Bruce, > > The error says your script is attempting to load > > /usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so > > for DBD::Oracle. is that the correct path for that library? it looks like > you built DBD::Oracle against the Oracle occi

Re: I have a weird issue with a script running under cron

2014-02-17 Thread Jens Rehsack
Hi Bruce, Am 17.02.2014 um 19:30 schrieb Bruce Johnson : > I get the following error: > > install_driver(Oracle) failed: Can't load > '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: > libocci.so.11.1: cannot open shared object file: No such file or directory at > /

Re: I have a weird issue with a script running under cron

2014-02-17 Thread Bruce Ferrell
Bruce, The error says your script is attempting to load /usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so for DBD::Oracle. is that the correct path for that library? it looks like you built DBD::Oracle against the Oracle occi libraries and those are often in different locations than the regula

I have a weird issue with a script running under cron

2014-02-17 Thread Bruce Johnson
I get the following error: install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.11.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200, line 749. at (eval 10) line 3 C