I have a simple test program using threads, etc. that compiles, links, and runs correctly, BUT if I try to link with -static, it get various undefined variables related to condition variables and mutexes. Why is this? Is there something I can do about it? BTW, I do have /usr/lib/librt.a Thanks for your help. Mike.