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).
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message