From owner-freebsd-current@FreeBSD.ORG Sun Aug 31 05:06:19 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D28916A4BF; Sun, 31 Aug 2003 05:06:19 -0700 (PDT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87CA043FF9; Sun, 31 Aug 2003 05:06:15 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd09.aul.t-online.de by mailout06.sul.t-online.com with smtp id 19tQyE-00082I-01; Sun, 31 Aug 2003 14:06:14 +0200 Received: from Andro-Beta.Leidinger.net (b7S+8EZf8eoCUHda5edYgjQ2TJ6hlvV63YwbDLebFKTr5u7K4Fs-ED@[217.83.24.164]) by fmrl09.sul.t-online.com with esmtp id 19tQy1-04kVNY0; Sun, 31 Aug 2003 14:06:01 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) h7VC729O005327; Sun, 31 Aug 2003 14:07:03 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.9/8.12.9) with SMTP id h7VC7gjN025710; Sun, 31 Aug 2003 14:07:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 31 Aug 2003 14:07:42 +0200 From: Alexander Leidinger To: Ruslan Ermilov Message-Id: <20030831140742.3bd1b597.Alexander@Leidinger.net> In-Reply-To: <20030830185653.GA10674@sunbay.com> References: <200308291454.h7TEsb913915@accms33.physik.rwth-aachen.de> <20030829172348.1aa0b5d4.Alexander@Leidinger.net> <20030829161907.GA89129@troutmask.apl.washington.edu> <20030830135427.0cea7fdb.Alexander@Leidinger.net> <20030830185653.GA10674@sunbay.com> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: b7S+8EZf8eoCUHda5edYgjQ2TJ6hlvV63YwbDLebFKTr5u7K4Fs-ED@t-dialin.net cc: Gordon Tetlow cc: Christoph Kukulies cc: current@FreeBSD.org cc: Steve Kargl Subject: Re: /lib symlinks problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2003 12:06:19 -0000 On Sat, 30 Aug 2003 21:56:53 +0300 Ruslan Ermilov wrote: > > I think a workaround would be to use absolute symlinks (at least as an > > option). > > > I might be missing an obvious, but I just don't see a reason > why we should use relative linking here: we should just link > to where we really install. With the attached patch, I get: > > $ make -n install -DNOMAN DESTDIR=/foo > install -C -o root -g wheel -m 444 libalias.a /foo/usr/lib > install -s -o root -g wheel -m 444 libalias.so.4 /foo/lib > ln -fs libalias.so.4 /foo/lib/libalias.so > ln -fs /foo/lib/libalias.so.4 /foo/usr/lib/libalias.so Don't you have to remove the first ${DESTDIR} to make this work in the "put a harddisk into a running system and install a system via installworld & distribute" case? Bye, Alexander. -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7