From owner-freebsd-current Sun Sep 23 10:43:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from galaxy.anchoragerescue.org (cable-95-7-237-24.anchorageak.net [24.237.7.95]) by hub.freebsd.org (Postfix) with ESMTP id 3F1F337B407; Sun, 23 Sep 2001 10:42:55 -0700 (PDT) Received: by galaxy.anchoragerescue.org (Postfix, from userid 0) id 7A08D9D35; Sat, 22 Sep 2001 02:30:33 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: "Andrey A. Chernov" , Ruslan Ermilov Subject: Re: Problems with latest current build Date: Sat, 22 Sep 2001 02:30:33 -0800 X-Mailer: KMail [version 1.3] Cc: freebsd-current@FreeBSD.ORG, Peter Wemm References: <20010922044320.A2E6B9D33@galaxy.anchoragerescue.org> <20010922121302.G76391@sunbay.com> <20010922132810.A81582@nagual.pp.ru> In-Reply-To: <20010922132810.A81582@nagual.pp.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010922103033.7A08D9D35@galaxy.anchoragerescue.org> 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 Saturday 22 September 2001 01:28 am, Andrey A. Chernov wrote: > 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. Just for the record, I did a new build and installworld in single user. When I rebooted into multi-user the compat libraries are still not being found. My /etc/make.conf has the COMPAT4X=yes line (has for some time). Beech > > 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message