Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: Required libpthread not found. Use --with-libpthread

2010-05-16 by Johann E. Klasek

On Sun, May 16, 2010 at 10:47:32AM -0000, john_espiro wrote:
> 
> Thanks for the quick reply... :)
> 
> > 
> > Which files exactly? You need "libpthread.so" without version number.
> 
> locate libpthread.so gives me:
> 
> /usr/lib/libpthread.so
> 
> /lib/libpthread.so.0
> /lib/tls/libpthread.so.0
> /lib/tls/i686/nosegneg/libpthread.so.0
> /lib/i686/libpthread.so.0
> 
> 
> 
> > Try "yum install glibc-headers glibc-devel", please.
> 
> The following two packages are installed:
> 
> glibc-headers-2.3.4-2.36
> glibc-devel-2.3.4-2.36
> 
> 
> config.log shows me:
> 
> configure:6455: result: no
> configure:6460: checking for pthread_create in -lpthreads -lpthread
> configure:6495: gcc -o conftest -g -O2 -Wall -Iyes/include -I/usr/lib/include -Iyes/include -DUSE_GEOIP   -Lyes/lib -Wl,--rpath=yes/lib -L/usr/lib/lib -Wl,--rpath=/usr/lib/lib -Lyes/lib -Wl,--rpath=yes/lib conftest.c -lpthreads -lpthread  -lGeoIP  >&5
> /usr/bin/ld: cannot find -lpthreads
> collect2: ld returned 1 exit status
> configure:6502: $? = 1

Too many "yes" appearing here where a path value is probably expected ...

Instead of /usr/lib "/usr/lib/lib" is taken as ld argument ...
Similar /usr/lib/include ... some --with... argument to configure should
take a "/usr" instead of "/usr/lib" ...


Johann E. K.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.