Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 10:15:58 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: correct lib version?
Message-ID:  <20070412151557.GG88325@dan.emsphone.com>
In-Reply-To: <17950.17735.589770.499548@jerusalem.litteratus.org>
References:  <17950.17735.589770.499548@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/libpthread.so.1

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/libpthread.so
> /usr/local/lib/pth/libpthread.so.20
> /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/libpthread.so.1
> /usr/lib/libpthread.a
> /usr/lib/libpthread.so

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

-- 
	Dan Nelson
	dnelson@allantgroup.com



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