Re: Problems with shared libraries on Solaris

joe_at_invalid.address
Date: 04/16/04


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


Relevant Pages

  • Re: Extension by implementation instead of consensus Re: [] arrays, again
    ... XML does not specify semantics, and the DTDs don't do it, either. ... ANS that show how different people use DEFER. ... variant A of DEFER, a quarter using variant B, and another quuarter ... and libraries that care about that can define / using FM/MOD ...
    (comp.lang.forth)
  • Writing a library for .NET ?
    ... libraries... ... // You can specify all the values or you can default the Revision and Build ... // If the KeyFile and the KeyName values are both specified, ... // directory is the project directory. ...
    (alt.comp.lang.borland-delphi)
  • Re: Infopath - Submit Form to Parent Library
    ... When I set up a datasource, I have to specify exactly where I want it to be ... I am setting up some site templates, and one of the form libraries will use ... my Infopath form template as its template. ... I've seen some posts asking about and maybe even providing a solution ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Infopath - Submit Form to Parent Library
    ... When I set up a datasource, I have to specify exactly where I want it to be ... I am setting up some site templates, and one of the form libraries will use ... my Infopath form template as its template. ... I've seen some posts asking about and maybe even providing a solution ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Infopath - Submit Form to Parent Library
    ... When I set up a datasource, I have to specify exactly where I want it to be ... I am setting up some site templates, and one of the form libraries will use ... my Infopath form template as its template. ...
    (microsoft.public.sharepoint.portalserver.development)