From owner-freebsd-current Wed May 27 14:19:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA03406 for freebsd-current-outgoing; Wed, 27 May 1998 14:19:17 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA03358; Wed, 27 May 1998 14:19:01 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA01620; Wed, 27 May 1998 13:13:13 -0700 (PDT) Message-Id: <199805272013.NAA01620@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Brian Somers 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 In-reply-to: Your message of "Wed, 27 May 1998 19:40:36 BST." <199805271840.TAA17779@awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Wed, 27 May 1998 13:13:13 -0700 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id OAA03364 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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