I want you to know that I just solved the problem I had. I recompiled the entire package without linuxthreads. The test suite generates sensible results and so do my personal ldapsearches. Maybe I'll try pth some day but for now this will do. I would like to thank Kurt Zeilenga and David Begley very much for their help! Regards, Jeroen Gremmen