Cannot find libpthread on 5.2.1-RELEASE-p3

Dan Nelson dnelson at allantgroup.com
Mon Mar 22 10:54:23 PST 2004


In the last episode (Mar 22), Matthew Emmerton said:
> On Mon, 22 Mar 2004, Heinrich Rebehn wrote:
> 
> > Hi list,
> >
> > this is all i get when searching for libpthread on my system:
> >
> > # find /usr -name 'libpthread*'
> > /usr/src/lib/libpthread
> > /usr/compat/linux/lib/libpthread-0.9.so
> > /usr/compat/linux/lib/libpthread.so.0
> > # find /lib -name 'libpthread*'
> > #
> >
> > How do i install libpthread? What am i missing?
> 
> libpthread does not exist anymore.  Use libc_r instead.

Actually, libpthread exists in -current, but not in 5.2.  Linking with
-lc_r should work, and in 5.2 it'll really give you libkse (which is
called libpthread in -current).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list