Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] freebsd 6.3 compile woes

2008-10-28 by Lucien GENTIS

Bill Levering a \ufffdcrit :
>
> ugh...
>
> config cannot find libbind:
> milter-greylist-4.0# ./configure --with-libbind=/usr/local/lib --with-
> libcurl --with-libspf --with-user=smmsp
> ....
> checking if ld accepts --rpath... yes
> checking for bind9_getaddresses in -lbind... no
> checking for bind9_getaddresses in -lbind9... no
> neither -lbind nor -lbind9 worked. check config.log for details
>
> milter-greylist-4.0# ldconfig -r | grep libbind
> 217:-lbind9.40 => /usr/local/lib/libbind9.so.40
>
> so I gave up on that...
> milter-greylist-4.0# ./configure --with-libcurl --with-libspf --with-
> user=smmsp --with-pthread=/lib
> ...
> checking for vsyslog... no
> 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
>
> # ldconfig -r | grep libpthread 219:-lpthread-stubs.0 => /usr/local/
> lib/libpthread-stubs.so.0
> 242:-lpthread.2 => /lib/libpthread.so.2
>
> What idiotic thing am I doing wrong?
> Bill
>
>  
Hi,

configure script searches for -lbind, lbind9 and lpthread ; so you must 
have /usr/local/lib/libbind.so (or /usr/local/lib/libbind9.so) and 
/lib/libpthread.so.

If you haven't, you can create symbolic links 
(/usr/local/lib/libbind9.so  --> /usr/local/lib/libbind9.so.40, . . .)

Hope it works

Lucien

-- 
Lucien GENTIS
IUFM de Lorraine
Centre de Ressources Informatiques
5, Rue Paul Richard
C.O. 3 - MAXEVILLE
54528 LAXOU-CEDEX

T\ufffdl. 03 83 17 68 41
Email : lucien.gentis@...

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.