From owner-freebsd-current Tue May 26 23:42:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12890 for freebsd-current-outgoing; Tue, 26 May 1998 23:42:10 -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 XAA12822; Tue, 26 May 1998 23:41:35 -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 OAA01119; Wed, 27 May 1998 14:41:24 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199805270641.OAA01119@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: sos@FreeBSD.ORG cc: 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 "Tue, 26 May 1998 23:06:40 +0200." <199805262106.XAA27629@sos.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Wed, 27 May 1998 14:41:24 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG S ren Schmidt wrote: > In reply to Garrett Wollman who wrote: > > < = said: > > = > > > This will after a make world & reboot give a system that no > > > longer uses /usr/lib/*, infact one could remove all the old > > > libraries there, they are not used anymore. > > = > > Except for all the inconvenient third-party software... > = > 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. Yes, this really isn't a problem.. Both the a.out ld itself and ld.so = know to look in /usr/lib/aout. Old programs will still work just as = before. The only thing that will have trouble is stuff that wants to do a 'nm /us= r/ lib/libc.a' to detect if a system has a given function. In any case, = programs that do this are pretty limited these days (autoconf tests = properly, it's only the old metaconfig stuff that is likely to have = trouble, and even then those config systems allow the location of libc an= d = the commands to get the name list to be configured at config time). > 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 :( This is true. It's going to be fun doing plists since ELF and a.out have= = got different versioning strategies.. (elf has a library and a symlink, = while a.out uses libraries and a combination of ldconfig caching and = runtime directory scanning) Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message