From owner-freebsd-current Mon Jun 1 12:12:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06815 for freebsd-current-outgoing; Mon, 1 Jun 1998 12:12:03 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06757 for ; Mon, 1 Jun 1998 12:11:49 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id DAA10580; Tue, 2 Jun 1998 03:11:24 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199806011911.DAA10580@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: ben@stuyts.nl cc: "Brian Feldman" , freebsd-current@FreeBSD.ORG Subject: Re: ppp cannot find libalias In-reply-to: Your message of "Mon, 01 Jun 1998 20:25:49 +0200." <199806011825.UAA10399@daneel.stuyts.nl> Date: Tue, 02 Jun 1998 03:11:24 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Stuyts wrote: > On 1 Jun 1998, "Brian Feldman" wrote: > > > So fix it, I don't see what the problem is here? > > I wrote: > > > > This is on -current, cvsupped on May 30. I just removed every old library > > > in /usr/lib, as they are now in /usr/lib/aout. The new ppp does not look in > > > the correct place for libalias yet. It still looks in /usr/lib: > > > ... > > > > > > loadalias.c:#define _PATH_ALIAS_PREFIX "/usr/lib/libalias.so.2." > > The problem is: You want me to report these things or not? > > I already have put a /aout in there, but that won't do any good as soon as > things move over to /usr/lib/elf. > > Ben I don't see why we don't just link with -lalias and be done with it. It's quite simple to do a dlopen(NULL) to do symbolic lookups if code impact is a problem. Or just initialize the PacketAlias struct with &functionname from libalias. At least for the time being something like this is needed. Assumptions about pathnames to libraries and versioning is likely to be a very slippery business over the next few months until the dust settles. Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message