Yahoo Groups archive

Milter-greylist

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

Thread

Unable to compile milter-greylist on debian (sarge/etch)

Unable to compile milter-greylist on debian (sarge/etch)

2007-04-21 by robert_schmidli

I have been unable to compile milter-greylist on debian with anything
but the basic features:

$ ./configure --with-user=smmsp --enable-dnsrbl
--with-dumpfile=/usr/lib/milter-greylist

..

checking for pthread_create in -lpthread... no
checking for pthread_create in -lc_r... no
checking for pthread_create in -lpthreads -lpthread... no
Required libpthread not found. Use --with-libpthread

If I use --with-libpthread=/lib, I get the same result.

I can successfully run the ./configure command with no arguments.

I can confirm that libpthread exists:

$ ls -l /lib |grep  pthread
-rw-r--r--  1 root root   81701 2007-02-22 02:13 libpthread-0.10.so
lrwxrwxrwx  1 root root      18 2007-04-22 06:40 libpthread.so.0 ->
libpthread-0.10.so

I have had this problem with 3.1.8 and 4.0

Can anybody help?

Re: [milter-greylist] Unable to compile milter-greylist on debian (sarge/etch)

2007-04-22 by manu@netbsd.org

robert_schmidli <me@...-a-geek.net> wrote:

> checking for pthread_create in -lpthread... no

I suspect this message is misleading and hides another problem. Look at
config.log for the actual link failure that produced it. (or send me
config.log if you don't understand what you see)

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] Unable to compile milter-greylist on debian (sarge/etch)

2007-04-22 by Seth Mos

> I have been unable to compile milter-greylist on debian with anything
> but the basic features:

Which debian release is this? I am using Debian 4.0 Etch. And it worked
fine for me on Debian 3.1 Sarge too.

> I can confirm that libpthread exists:
>
> $ ls -l /lib |grep  pthread
> -rw-r--r--  1 root root   81701 2007-02-22 02:13 libpthread-0.10.so
> lrwxrwxrwx  1 root root      18 2007-04-22 06:40 libpthread.so.0 ->
> libpthread-0.10.so

I am compiling from CVS, although the releases work for me too.

Your libpthread files seem to match mine though. Perhaps a missing
libpthread-dev package somewhere.

Cheers,

Seth

Re: Unable to compile milter-greylist on debian (sarge/etch)

2007-04-22 by robert_schmidli

I fixed it:

$ cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf

$ cat /etc/ld.so.conf.d/*
# Multiarch support
/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu

This is a new installation of Etch and for some reason the obvious
directories aren't included here.  I've added /usr/lib.

It looked more like a libpthread problem.

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.