Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 1998 13:13:13 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        sos@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu (Garrett Wollman), current@FreeBSD.ORG
Subject:   Re: cvs commit: src Makefile src/etc rc src/etc/mtree BSD.usr.dist 
Message-ID:  <199805272013.NAA01620@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 27 May 1998 19:40:36 BST." <199805271840.TAA17779@awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Well, there is no real solution for that I'm afraid..
> > 
> > At runtime shared libs wil be resolved via rtld which knows
> > where to look for libs.
> > 
> > Systems that rely on libs being in /usr/lib via hard path will
> > fail, ie Makefiles with a wired in hard path, we can then argue
> > to death who is broken...
> > 
> > Another story is what we are going to do with /usr/local/lib :(
> 
> Any ideas for /usr/src/usr.sbin/ppp/loadalias.c ?  It dlopen()s and 
> dlsym()s with a fixed path prefix.

Ideally you should be able to pass a library name to dlopen() and have 
it do the search for you based on the current search path.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199805272013.NAA01620>