system: IRIX 6.5.30; samba 3.2.11
swat does not find samba libraries when run by inetd.
I wrote a wrapper for inetd to call so the libraries are found.
Created attachment 4091 [details]
Wrapper for inetd
This wrapper allows inetd to run swat on IRIX.
I put it in samba/sbin as swat.sh and call it from inetd.conf.
I will re-test with 3.3.4 (building now) to see if it has the same problem.
I see the same problem with 3.3.4.
You should either install the libraries somewhere, where your library search patch points to. If you don't do that you have to work around it like you did with your wrapper script.
I'd like a pony too.
The libraries are located in /usr/samba/lib.
They are not installed in a system directory searched by the loader (unless they are explicitly added to the library search path).
Swat is run by inetd. I do not want to expose the samba libraries to every system program just so the loader can find them when inetd starts swat.
The samba start/stop script has the same library problem and requires the same work around.
How am I supposed to solve this problem on an IRIX system without a wrapper (e.g. swat.sh)? Explicitly copying the samba libraries to a system library area is pretty lame (even symlinking them).
this won't be fixed any better. extend your library search path, insall the libs in your systems's lib paths or tell configure not to use shared libs if you dislike the first options.