From owner-freebsd-current Sat Sep 22 2:28:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id A2A8237B415; Sat, 22 Sep 2001 02:28:13 -0700 (PDT) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id f8M9SBA81666; Sat, 22 Sep 2001 13:28:11 +0400 (MSD) (envelope-from ache) Date: Sat, 22 Sep 2001 13:28:11 +0400 From: "Andrey A. Chernov" To: Ruslan Ermilov Cc: Beech Rintoul , freebsd-current@FreeBSD.ORG, Peter Wemm Subject: Re: Problems with latest current build Message-ID: <20010922132810.A81582@nagual.pp.ru> References: <20010922044320.A2E6B9D33@galaxy.anchoragerescue.org> <20010922111328.D76391@sunbay.com> <20010922123030.B80168@nagual.pp.ru> <20010922121302.G76391@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010922121302.G76391@sunbay.com> User-Agent: Mutt/1.3.21i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 22, 2001 at 12:13:02 +0300, Ruslan Ermilov wrote: > On Sat, Sep 22, 2001 at 12:30:30PM +0400, Andrey A. Chernov wrote: > > On Sat, Sep 22, 2001 at 11:13:28 +0300, Ruslan Ermilov wrote: > > > > Second I still have apps looking for libc.so.4 (mountd for example) I finally > > > > just linked those libs back from compat and it seems to work. Is this just my > > > > box this is happening on or are others also seeing this? > > > > > > > Hmm, if you have COMPAT_4x=TRUE in your /etc/make.conf, libc.so.4 > > > should be installed in /usr/lib/compat, and the latter (by default) > > > is listed in the ``ldconfig_paths'' rc.conf(5) variable. > > > > "ldconfig -R" must be adeded to the end of install: target of each compat* > > Makefile. > > > Huh? We don't call ldconfig(8) for normal installworlds, when we upgrade > /usr/lib libraries; this also would be bogus for the DESTDIR=/foo case. > Also recall that ``installworld'' should normally be executed from the > single-user mode, then rebooted into multi-user, and rc(8) script will > run the ldconfig(8) setup as needed. If some libraries added, removed or moved, system not sense it unless 'ldconfig -R' is called, so ports Mk files do it. When COMPATX remove library from one place and put it to another, ldconfig must be called somehow, manually or after reboot or in some another way. If user just type 'make install' in lib/compat, it usually means he want to continue from here, not reboot or single user, so if DESTDIR=/ better way is to call ldconfig to reduce confusion. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message