|
From: | Andrew Fort |
Subject: | Re: cfexecd from cron - pt.3 |
Date: | Fri, 20 Jan 2006 09:06:13 +1100 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
PAUL WILLIAMSON wrote:
on solaris, the two most common approaches are to (of course there are more than two options ;-):When I do an ldd against the file, all libraries come up linked.This is a completely Solaris 8 environment for the time being, I don't seem to have an ldso.conf on any of the machines...Paul
Set LD_LIBRARY_PATH appropriately in the environment of the user executing the binary, or configure 'crle' (kinda like Linuxs' ldconfig) to include the necessary paths. (Or symlink into one of the default paths, which you can see by running 'crle' with no arguments). I prefer the crle approach generally since it is system wide.
If you run the cfexecd with truss, you'll notice the syscalls for the ld.so.1 hunting around for the library, and not finding it.
-andrew
[Prev in Thread] | Current Thread | [Next in Thread] |