Re: I have a weird issue with a script running under cron
"Peter J. Holzer" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
On 2014-02-17 22:43:58 +0000, Bruce Johnson wrote: > On Feb 17, 2014, at 2:48 PM, John D Groenveld <[email protected]> wrote: > > 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 which libraries aren't resolving > > would be a useful test: > > #!/bin/ksh > > /bin/env - /usr/bin/ldd /usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so > > Everything works on the command line interactively. The error only > happens when the script is run via cron; Yes, so obviously you should run John's little script via cron, too. What is the result? hp -- _ | Peter J. Holzer | I think we need two definitions: |_|_) | WSR - Softwaredevelopment | 1) The problem the *users* want us to solve | | | und Projektunterstützung | 2) The problem our solution addresses. __/ | [email protected] | -- Phillip Hallam-Baker on spam
signature.asc
(application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFTAz3hMdFfQa64PCwRApRjAJ4lQdFRPZCtxvLdAGAFXehba06LbACcC7EE ajT1k9eMjAVCd7qkqXgYEhI= =w9Lx -----END PGP SIGNATURE-----