Subj : Re: How to find an application is built with LinuxThreads/NPTL ? To : comp.programming.threads From : loic-dev Date : Thu May 19 2005 08:16 am Salut Karthik, > My question is, is there a way to find out whether an application is > built with LinuxThreads or NPTL? Would 'ldd' command on the binary or > shared library would help? > > Sorry, if this question is not a relevant post to this newsgroup. This question is perfectly relevant to this newsgroup. The bad news is that you don't build an application explicitely against LinuxThreads or NPTL. You build it against libpthread.so.0. Depending on which system the program runs (or depending on the setting of LD_ASSUME_KERNEL) the libpthread.so.0 corresponds to the NPTL or LinuxThreads implementation. Regards, Loic. .