Re: Problems with shared libraries on Solaris
joe_at_invalid.address
Date: 04/16/04
- Next message: Lew Pitcher: "Re: C Sockets Newbie: Easy question"
- Previous message: Eyal Goren: "Problems with shared libraries on Solaris"
- In reply to: Eyal Goren: "Problems with shared libraries on Solaris"
- Next in thread: Mohun Biswas: "Re: Problems with shared libraries on Solaris"
- Reply: Mohun Biswas: "Re: Problems with shared libraries on Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Apr 2004 19:03:06 GMT
eyal_goren@bmc.com (Eyal Goren) writes:
> We ran into the following problem: We have an application which use
> our shared library, this library is linkaged with Oracle shared
> library. The problem is that if we try to specify the location of
> the Oracle at run time according to the LD_LIBRARY_PATH, it does not
> work. If on the other hand, we use the -R flag during compile time
> for a specific location it works. But then we can not set the
> location dynamically, and this is what we want.
Is the program set-user-id? If so, the LD_LIBRARY_PATH is probably
being ignored.
"The runtime linker categorizes a process as secure if the user is
not a super-user, and either the real user and effective user
identifiers are not equal, or the real group and effective group
identifiers are not equal. See getuid(2), geteuid(2), getgid(2) and
getegid(2).
The default trusted directory known to the runtime linker is
/usr/lib/secure for 32 bit objects or /usr/lib/secure/64 for 64 bit
objects. The utility crle(1) may be used to specify additional
trusted directories applicable for secure
applications. Administrators who use this technique should ensure
that the target directories are suitably protected from malicious
intrusion.
If an LD_LIBRARY_PATH family environment variable is in effect (see
Directories Searched by the Runtime Linker on page 60) for a secure
process, then only the trusted directories specified by this
variable will be used to augment the runtime linker s search rules.
..."
See the Sun Linker and Libraries Guide, available from docs.sun.com
Joe
-- If people don't want to come out to the ballpark, nobody's going to stop them. - Yogi Berra
- Next message: Lew Pitcher: "Re: C Sockets Newbie: Easy question"
- Previous message: Eyal Goren: "Problems with shared libraries on Solaris"
- In reply to: Eyal Goren: "Problems with shared libraries on Solaris"
- Next in thread: Mohun Biswas: "Re: Problems with shared libraries on Solaris"
- Reply: Mohun Biswas: "Re: Problems with shared libraries on Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|