ports/102034: emulators/linux_base-fc4 library problems with
RELENG_6_1
Boris Samorodov
bsam at ipt.ru
Tue Aug 22 14:53:23 UTC 2006
On Tue, 22 Aug 2006 15:52:06 +0200 Alexander Leidinger wrote:
> Quoting Boris Samorodov <bsam at ipt.ru> (from Tue, 22 Aug 2006 12:32:33 +0400):
> >> /usr/lib/libpthread.a
> >> /usr/lib/libpthread_p.a
> >> /usr/lib/libpthread.so.1
> >
> > (note: this one is suspicious as you have [1].)
> No, the one in [1] is suspicious. Nothing should move any base system
See further.
> library to /usr/local/compat/pkg.
> >> /usr/lib/libpthread.so
> >> /usr/lib/libpthread.so.0
> >
> > Show pls "ls -l /usr/lib/libpthread.so.0".
> >
> > I asked about this one. Did you create it intentionally and (if yes,
> > what was the purpose)?
> > Did you (and how) upgrade your system?
> > Which OS version was initially installed at your PC?
> >
> > Anyway, this file either should exist at /usr/local/lib/compat or it
> > shouldn't exist at all. Try to (tempoparily) remove it and check up
> > linux_base install.
> >
> >> /usr/lib/libpthread.so.2
> Since the .2 one exists, there should be no .1 or .0 at all.
If you ment "...at /usr/src" I'd agree. But not with .1 at
/usr/local/lib/compat.
> >> /usr/local/lib/compat/libpthread.so.1 [1]
> And this shouldn't be there too.
Can't agree with you here, what about misc/compat5x?
> I suggest to remove (temporary) all old libs from everywhere (this may
> break some application) and run "libchk" (available from ports). It
> will report some apps which depend upon this removed lib
> ("Unresolved... /path/to/app"). For each of those apps, you need to
> determine the corresponding port and rebuild it:
> pkg_which $(grep "Unresolved..." libchk.txt | sed -e
> s/Unresolved.*: //') | sort -u | xargs portupgrade -f
> After this nothing depends upon this old lib anymore.
Yes, this is good for further tunning of the system. Still, I think
that my advice is acceptable at the case we are discussing
(PR/102034).
WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-emulation
mailing list