From owner-freebsd-current Wed Sep 2 17:16:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05050 for freebsd-current-outgoing; Wed, 2 Sep 1998 17:16:38 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from abby.skypoint.net (abby.skypoint.net [199.86.32.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05045 for ; Wed, 2 Sep 1998 17:16:37 -0700 (PDT) (envelope-from bruce@zuhause.mn.org) Received: (from uucp@localhost) by abby.skypoint.net (8.8.7/jl 1.3) with UUCP id TAA22002; Wed, 2 Sep 1998 19:15:28 -0500 (CDT) Received: (from bruce@localhost) by zuhause.mn.org (8.8.8/8.8.7) id TAA11640; Wed, 2 Sep 1998 19:07:59 -0500 (CDT) From: Bruce Albrecht Date: Wed, 2 Sep 1998 19:07:58 -0500 (CDT) To: joelh@gnu.org Cc: current@FreeBSD.ORG Subject: Re: Why no ldconfig for ELF? In-Reply-To: <199809022313.SAA09819@detlev.UUCP> References: <199809021600.JAA22787@austin.polstra.com> <199809022313.SAA09819@detlev.UUCP> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13805.56495.457149.923238@zuhause.zuhause.mn.org> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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