libpthread not found

Dan Nelson dnelson at allantgroup.com
Mon Mar 2 15:31:15 PST 2009


In the last episode (Mar 01), Michael Powell said:
> m.borsatino at 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 at allantgroup.com


More information about the freebsd-questions mailing list