Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2001 02:30:33 -0800
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>, Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        freebsd-current@FreeBSD.ORG, Peter Wemm <peter@FreeBSD.ORG>
Subject:   Re: Problems with latest current build
Message-ID:  <20010922103033.7A08D9D35@galaxy.anchoragerescue.org>
In-Reply-To: <20010922132810.A81582@nagual.pp.ru>
References:  <20010922044320.A2E6B9D33@galaxy.anchoragerescue.org> <20010922121302.G76391@sunbay.com> <20010922132810.A81582@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010922103033.7A08D9D35>