I am trying to install a snort monitor and when I run configure I get this error:
Code:
checking for pthread_create in -lpthread... no
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lc_r... no
checking for pthread_create... no
Error: Pthread is required to build this package.
The problem is that I have pthread. I have even used it myself when programming. I have checked my ld.so.conf so it points to the directions I get when I do this:
Code:
$ locate libpthread
/lib/libpthread-0.10.so
/lib/libpthread.so.0
/usr/lib/libpthread.so
/usr/lib/libpthread_nonshared.a
/usr/lib/libpthread.a
What is the problem now? I am able to compile my own programs with g++ just using the -lpthread switch. And I am using the pthread_create function without problems. What is configure complaining about?