Subj : How to find an application is built with LinuxThreads/NPTL ? To : comp.programming.threads From : karthikd22 Date : Thu May 19 2005 07:30 am Hello All, I am a newbie to multi-threaded application programming/debugging. However, I have some basic knowledge of thread programming. I have heard about LinuxThreads and NPTL. While debugging multi-threaded applications(for which I don't have the source code) for any crashes/core dumps, gdb used to show the following message in the startup: Using host libthread_db library "/lib/tls/libthread_db.so.1" and an error message : Program received signal SIGABRT, Aborted. 0xb70c2cef in raise () from /lib/tls/libc.so.6 After a bit of googling, I found that setting environment variable LD_ASSUME_KERNEL to 2.4.1 solved this problem and I could debug the program correctly. Using the following command, I found the system I ran this program uses NPTL: $`ldd /bin/ls|grep libc.so.6|cut -d ' ' -f 3`|egrep -i 'linuxthreads|nptl' NPTL 0.60 by Ulrich Drepper 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. Thanks & Regards, Karthik .