From owner-freebsd-ports Mon Jul 31 0:10:10 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2E3E837BA90 for ; Mon, 31 Jul 2000 00:10:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA69082; Mon, 31 Jul 2000 00:10:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 31 Jul 2000 00:10:08 -0700 (PDT) Message-Id: <200007310710.AAA69082@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Jeremy Lea Subject: Re: ports/20270: libtool ldconfig and shlibs Reply-To: Jeremy Lea Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/20270; it has been noted by GNATS. From: Jeremy Lea To: FUJISHIMA Satsuki Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/20270: libtool ldconfig and shlibs Date: Mon, 31 Jul 2000 00:06:18 -0700 Hi, On Sat, Jul 29, 2000 at 04:26:50AM +0900, FUJISHIMA Satsuki wrote: > libtool installed with ports/devel/libtool runs ldconfig when > shared library installed. This is FreeBSD specific, and now > bsd.port.mk handles this properly. So libtool doesn't need to run > ldconfig. Well yes, and no. Any ports specific behaviour in libtool is controled by command line options, so I'd have to add one for not running ldconfig when it's run from bsd.port.mk. > The problem happens when you deinstall this port; pkg_delete > removes all plugins and directories and then try to ldconfig -R. > Of course there are no such directories and complains: > > ===> Deinstalling for xmms-1.2.2 > ldconfig: /usr/X11R6/lib/xmms/Output: No such file or directory > ldconfig: /usr/X11R6/lib/xmms/Effect: No such file or directory > ldconfig: /usr/X11R6/lib/xmms/General: No such file or directory > ldconfig: /usr/X11R6/lib/xmms/Visualization: No such file or directory > > So I think that ldconfig run by libtool is overkill. It's also harmless. Other than in this case. I think we have multiple problems here: 1. ldconfig should be ignoring non existant directories. 2. bsd.port.mk should run ldconfig before @dirrms. 3. libtool shouldn't be running ldconfig for modules (xmms's plugins are compiled with --avoid-version). I'll fix the last problem. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message