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

2014-02-20 Thread Peter J. Holzer
On 2014-02-19 11:14:30 -0800, Bill Ward wrote: Remember that use is a kind of BEGIN block. You have to set the ENV variables in a BEGIN block before the use line. Also, on several Unix-like systems (including Solaris and Linux/x86_64), changing LD_LIBRARY_PATH while a process is running has no

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

2014-02-20 Thread John D Groenveld
In message 20140220115644.gj10...@wsr.ac.at, Peter J. Holzer writes: You have to set LD_LIBRARY_PATH in a wrapper script. The OP should link his Oracle.so with the correct rpath so LD_LIBRARY_PATH is not required. I prefer to put ORACLE_HOME in a wrapper so I don't have to adjust every DBI

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

2014-02-20 Thread Bruce Johnson
On Feb 20, 2014, at 4:56 AM, Peter J. Holzer h...@wsr.ac.at wrote: On 2014-02-19 11:14:30 -0800, Bill Ward wrote: Remember that use is a kind of BEGIN block. You have to set the ENV variables in a BEGIN block before the use line. Also, on several Unix-like systems (including Solaris and