|Think about Loose Coupling|
Cron revisitedby tweetiepooh (Friar)
|on Jan 09, 2013 at 17:38 UTC||Need Help??|
tweetiepooh has asked for the
wisdom of the Perl Monks concerning the following question:
Hello all and happy new year
Having a fun issue with moving some scripts to a new server. On the old Solaris 8 with full fat Oracle 8 client and Perl 5.8 scripts run nicely under cron, generating output and working well.
On the new Solaris 10 with instant client 10_2 and Perl 5.12 the scripts work under shell but under cron fail with error finding libraries. (As others have found.)
Put a new script that fails on new server to old server and it works under cron, same script, no changes.
So this is not likely to be a pure Perl issue but maybe someone here has some ideas.
Update : OK the error seen is that the library libnnz10.so isn't found. I left this out initially because then I'd just get told about LD_LIBRARY_PATH and similar. These have been written up in the past and I am aware of it. I was after seeing if folk know why I get such an error with the Instant Client but not the older full client install.