From owner-freebsd-current Thu May 28 23:40:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA13810 for freebsd-current-outgoing; Thu, 28 May 1998 23:40:40 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA13759; Thu, 28 May 1998 23:40:24 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id HAA00434; Fri, 29 May 1998 07:40:08 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805290640.HAA00434@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Mike Smith cc: Brian Somers , 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 13:13:13 PDT." <199805272013.NAA01620@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 29 May 1998 07:40:08 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So is dlopen() now capable ? This was discussed a while ago and dropped IIRC. Now, I guess it's pretty mandatory cos there's no other reliable way for ppp to find things.... We also need to bump __FreeBSD_version before any snaps get released, otherwise it's gonna create problems for me. Has anyone any objections ? Cheers. > > > 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 > > -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message