Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 17:31:11 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Michael Powell <nightrecon@verizon.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: libpthread not found
Message-ID:  <20090302233111.GB78542@dan.emsphone.com>
In-Reply-To: <godpsj$nvk$1@ger.gmane.org>
References:  <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> <49AA5D4C.3070901@gmail.com> <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FB@FBCMST11V01.fbc.local> <godpsj$nvk$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 01), Michael Powell said:
> m.borsatino@alice.it wrote:
> > thanks ... but ... how?
> > now I don't get the first message; but the second tells me that a library
> > is missing, but it is present. anyway I' prepared a very simple
> > /etc/libmap.conf like this:
> > 
> > # /etc/libmap.conf
> > #
> > # candidate             mapping
> > #
> > libc.so.6 		/usr/compat/linux/lib/libc.so.6
> 
> Change to:
> 
> libc.so.6			libc.so.7

No, definitely do not do this.  The version of a shared library is bumped
when incompatible changes are made.  If libc.so.7 was compatible with
libc.so.6, why wasn't it called libc.so.6?  :)  libmap.conf is only meant to
exchange ABI-compatible libraries (primarily the older threads libraries
libc_r, libthr, and libpthread).

You want to install the compat6x port, which will install FreeBSD 6.x
libraries, including libc.so.6.
  
-- 
	Dan Nelson
	dnelson@allantgroup.com



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