Yahoo Groups archive

Milter-greylist

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

Message

RE: [milter-greylist] 4.2.7 on Ubuntu Lucid... not

2011-05-31 by Steger Wolfgang

Looks like you don't have the "-dev(el)"-Packages installed which provide
these files/links, e.g.:

$ ls -l /usr/lib/libpthread.so
-rw-r--r-- 1 root root 216 2011-01-22 00:35 /usr/lib/libpthread.so

$ dpkg-query -S /usr/lib/libpthread.so
libc6-dev: /usr/lib/libpthread.so

etc.

These Packages are not necessary for "normal" operation, but to build other
programs like this.

HTH, Wolfgang

-- 
  Dipl.Ing. Wolfgang Steger        first facility GmbH
  IT Server Management             a member of EVN Group
  wolfgang.steger@firstfacility.at 1120 Wien, Technologiestr. 8
  Tel:  +43 (1) 61424-242          Fax:  +43 (1) 614 24-20

-----Original Message-----
From: milter-greylist@yahoogroups.com
[mailto:milter-greylist@yahoogroups.com] On Behalf Of Bill Levering
Sent: Friday, May 27, 2011 11:52 PM
To: milter-greylist@yahoogroups.com
Subject: [milter-greylist] 4.2.7 on Ubuntu Lucid... not


I'm having major issues getting 4.2.7 to compile.

1st Error:
Required libmilter not found. Use --with-libmilter
- Solved by:
$ ln -s libmilter.so.1.0.1 libmilter.so


Then I was constantly getting:
Required libpthread not found. Use --with-libpthread

I tried to no avail:
$ ln -s /lib/libpthread.so.0 /lib/libpthread.so

but it turned out to be other libs...
libCurl
- Solved by:
$ ln -s /usr/lib/libcurl.so.4 /usr/lib/libcurl.so

libspf2
- Solved by:
$ ln -s /usr/lib/libspf2.so.2 /usr/lib/libspf2.so


With curl enabled, on make I get:
urlcheck.h:32:23: error: curl/curl.h: No such file or directory
In file included from milter-greylist.c:96:
urlcheck.h:36: error: expected specifier-qualifier-list before 'CURL'
make: *** [milter-greylist.o] Error 1

with curl not enabled, I was finally able to get it compiled and  
running.

so... it'd be helpful if the Required library error displayed the  
correct library that was missing. I'm not sure if and how the shared  
objects could be found.

Bill

Bill Levering
idbill@...
KFP: 0C38 4D7E 5B50 94FE 992D  406D 6C81 DE33 5459 A1AC

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.