Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 23:48:54 +0200
From:      Jim Segrave <jes@jes-2.demon.nl>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: ports/102034: emulators/linux_base-fc4 library problems with RELENG_6_1
Message-ID:  <20060822214853.GA83595@jes-2.demon.nl>
In-Reply-To: <20060822180941.h3kwmrrdycwwwswo@netchild.homeip.net>
References:  <200608220730.k7M7UMbm036179@freefall.freebsd.org> <68219662@bsam.ru> <20060822155206.wnofa44ha8s0sok0@netchild.homeip.net> <59246999@serv3.int.kfs.ru> <20060822180941.h3kwmrrdycwwwswo@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 22 Aug 2006 (18:09 +0200), Alexander Leidinger wrote:
> Quoting Boris Samorodov <bsam@ipt.ru> (from Tue, 22 Aug 2006 18:53:12 
> +0400):
> 
> >>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?
> 
> Ugh... yes, you are right. I did see a non-existing "pkg/" in there  
> and didn't thought about compat5x.

As it happens, nothing was referring to /usr/lib/libpthread.so.0, so I
deleted it and now linux ports behave normally, for which I am most
appreciative.

I am puzzled though - /usr/compat/linux/lib/libpthread.0 is installed
as part of linux_base-fc4 and is symlinked to
/usr/compat/linux/lib/libpthread-2.3.6.so

I thought that the linux emulation, barring abuse of LD_PATH or
LD_PRELOAD would always try to resolve out of /compat/linux/lib or
/compat/linux/usr/lib, so the existence of a FreeBSD libptread.0 would
not have any effect. Why would a linux app ever even see the FreeBSD
library of the same name?

-- 
Jim Segrave           jes@jes-2.demon.nl




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