Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: Smail3, SunOS and shared libraries Keywords: smail3 sunos shared-libraries Message-ID: <3976@auspex.auspex.com> Date: 28 Aug 90 20:50:42 GMT References: <1990Aug27.115140.27772@veritas.uucp> <1990Aug27.171211.16272@maverick.ksu.ksu.edu> Organization: Auspex Systems, Santa Clara Lines: 12 >Hmmm. If my memory serves me correctly, executables that are suid >root and linked with shared libraries, must have those libraries in >/usr/lib or /lib. Could it be these executables are trying to find >shared libraries in /usr/local/lib? If they are, this shouldn't be a problem, as "/usr/local/lib" is also considered an OK directory by SunOS's run-time loader. Perhaps S5R4 has a more flexible way of specifying the list of OK directories for shared libraries (they're hardcoded into "ld.so" in SunOS), or perhaps when the program was built under S5R4 it wasn't picking up any shared libraries from non-OK directories?