> So what to do (other than linking against libpthread)? As ws@ kindly pointed out in private mail, all I have to do is to #include <pthread.h> and just the right things will happen. Now I only have to figure out how to patch nss_ldap's pthread_once() configure test to succeed on NetBSD.