Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 1998 01:35:12 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        joelh@gnu.org
Cc:        jdp@polstra.com, taob@risc.org, current@FreeBSD.ORG
Subject:   Re: Why no ldconfig for ELF?
Message-ID:  <199809030135.SAA04006@usr07.primenet.com>
In-Reply-To: <199809022313.SAA09819@detlev.UUCP> from "Joel Ray Holveck" at Sep 2, 98 06:13:42 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > You specify the search path at _link_ time with LD_RUN_PATH or the
> > "-R" linker option.  The path is saved in the executable or shared
> > library itself.
> 
> 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.

The path is saved in a seperate section.

You are free to rewrite this section during install, using an ELF
image archiver.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

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?199809030135.SAA04006>