Re: correct lib version?

2007-04-12 Thread Dan Nelson
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
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: correct lib version?

2007-04-12 Thread Robert Huff
Dan Nelson writes:

  In the last episode (Apr 12), Robert Huff said:
   
  What is the correct version of libpthread for -CURRENT?

  That's from the compat5x port/package.
  That's from the GNU pth port,
  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.

Question answered.
Thank you.


Robert Huff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]