correct lib version?
    Dan Nelson 
    dnelson at allantgroup.com
       
    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/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 at allantgroup.com
    
    
More information about the freebsd-questions
mailing list