From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 09:31:36 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 D556416A4BF; Mon, 1 Sep 2003 09:31:36 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8695443FEA; Mon, 1 Sep 2003 09:31:35 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h81GVXoP071771; Mon, 1 Sep 2003 09:31:33 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h81GVUFR071548; Mon, 1 Sep 2003 09:31:30 -0700 (PDT) (envelope-from obrien) Date: Mon, 1 Sep 2003 09:31:29 -0700 From: "David O'Brien" To: Ruslan Ermilov Message-ID: <20030901163129.GB65770@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Ruslan Ermilov , Alexander Leidinger , Gordon Tetlow , Christoph Kukulies , current@FreeBSD.org, Steve Kargl 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> <20030831140742.3bd1b597.Alexander@Leidinger.net> <20030831145224.GC28845@sunbay.com> <20030901051049.GB91933@dragon.nuxi.com> <20030901064424.GA30277@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030901064424.GA30277@sunbay.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.1-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Gordon Tetlow cc: Alexander Leidinger 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 Reply-To: obrien@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 16:31:37 -0000 On Mon, Sep 01, 2003 at 09:44:24AM +0300, Ruslan Ermilov wrote: > On Sun, Aug 31, 2003 at 10:10:49PM -0700, David O'Brien wrote: > > On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote: > > > > > 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: > > ... > > > +.if ${LIBDIR} != ${SHLIBDIR} > > > + ln -fs ${SHLIBDIR}/${SHLIB_NAME} ${DESTDIR}${LIBDIR}/${SHLIB_LINK} > > > > Why are we making *any* symlinks here?? > > > : revision 1.150 > : date: 2003/08/17 23:56:29; author: gordon; state: Exp; lines: +2 -3 > : When creating .so symlinks, use SHLIBDIR instead of LIBDIR so symlinks > : are created in the correct location. Always make them. For libraries > : that live in /lib, this causes a /lib/libfoo.so and a compatibility > : /usr/lib/libfoo.so to be created. We may want to drop the > : /usr/lib/libfoo.so symlink at some future point. > > I think that Gordon took a safe path with creating compatibility symlinks. > Besides, creating compatibility symlinks has a nicety of removing your > stale symlinks in /usr/lib. Reguardless, I think we should just not have the compatibility symlinks. I can't think of anything that really uses them. -- -- David (obrien@FreeBSD.org)