Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Sep 1998 19:07:58 -0500 (CDT)
From:      Bruce Albrecht <bruce@zuhause.mn.org>
To:        joelh@gnu.org
Cc:        current@FreeBSD.ORG
Subject:   Re: Why no ldconfig for ELF?
Message-ID:  <13805.56495.457149.923238@zuhause.zuhause.mn.org>
In-Reply-To: <199809022313.SAA09819@detlev.UUCP>
References:  <Pine.GSO.3.96.980902111219.689F-100000@tor-dev1.nbc.netcom.ca> <199809021600.JAA22787@austin.polstra.com> <199809022313.SAA09819@detlev.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
Joel Ray Holveck writes:
 > How is this a win?  Say I'm taking a binary from somebody who
 > installed libXpm in /usr/X11R6/lib, and didn't have a /usr/local/lib,
 > which is where my libXpm resides.

You add /usr/local/lib to the environment variable LD_LIBRARY_PATH, and it
will be found.  I'm not running ELF on FreeBSD yet, but with Solaris,
LD_LIBRARY_PATH is ignored for setuid programs, in which case you would need
to make a symbolic link for the library to a directory that was in his run
path, like /usr/lib.  

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13805.56495.457149.923238>