correct lib version?

Dan Nelson dnelson at
Thu Apr 12 15:47:33 UTC 2007

In the last episode (Apr 12), Robert Huff said:
> 	What is the correct version of libpthread for -CURRENT?
> 	I ask because:
> huff@> find /usr/local/lib -name "libpthread.*"
> /usr/local/lib/compat/

That's from the compat5x port/package.  You can use the pkg_which
command to determine which ports files in /usr/local/* came from.

> /usr/local/lib/pth/
> /usr/local/lib/pth/
> /usr/local/lib/pth/libpthread.a

That's from the GNU "pth" port, which is a userland thread library
similar to libc_r.  It's tucked away in its own subdirectory so only
ports that explicitly look for it will use it.

> huff@> find /usr/lib -name "libpthread.*"
> /usr/lib/
> /usr/lib/libpthread.a
> /usr/lib/

That's a from when your system was running 5.*.  6.*
and later put critical shared libs in /lib, so you should see a
/lib/ file there.

	Dan Nelson
	dnelson at

More information about the freebsd-questions mailing list