Yahoo Groups archive

Milter-greylist

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

Thread

4.2.7 on Ubuntu Lucid... not

4.2.7 on Ubuntu Lucid... not

2011-05-27 by Bill Levering

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

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
Show quoted textHide quoted text
-----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

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

2011-05-31 by Bill Levering

Hmm...

root@cloud:~# dpkg-query -S /usr/lib/libpthread.so
libc6-dev: /usr/lib/libpthread.so
root@cloud:~# dpkg --get-selections | grep libc6
libc6						install
libc6-dev					install

root@cloud:~# dpkg-query -S /usr/lib/libspf2.so
libspf2-dev: /usr/lib/libspf2.so
root@cloud:~# dpkg --get-selections | grep libspf2-dev
libspf2-dev					install

root@cloud:~# dpkg-query -S /usr/lib/libcurl.so
dpkg: /usr/lib/libcurl.so not found.

root@cloud:~# dpkg-query -S /usr/lib/libcurl.so.4
libcurl3: /usr/lib/libcurl.so.4
root@cloud:~# dpkg --get-selections | grep libcurl3
libcurl3					install
libcurl3-gnutls					install

I installed libcurl4-gnutls-dev, and greylist now compiles with curl.

And what is this error:

May 29 02:15:58 cloud kernel: [1553548.690906] milter-greylist[30141]:  
segfault at 130 ip 00007f18bfa8dbd0 sp 00007f18bb034e30 error 4 in  
libmilter.so.1.0.1[7f18bfa83000+e000]


Bill

Bill Levering
idbill@...
KFP: 0C38 4D7E 5B50 94FE 992D  406D 6C81 DE33 5459 A1AC
Show quoted textHide quoted text
On May 31, 2011, at 3:53 AM, Steger Wolfgang wrote:

> 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@... 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
>
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

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

2011-06-01 by manu@netbsd.org

Bill Levering <idbill@...> wrote:

> May 29 02:15:58 cloud kernel: [1553548.690906] milter-greylist[30141]:
> segfault at 130 ip 00007f18bfa8dbd0 sp 00007f18bb034e30 error 4 in  
> libmilter.so.1.0.1[7f18bfa83000+e000]

Build with CLFAGS=-g, then
# gdb /usr/local/bin/milter-greylist
(gdb) r -Dv

Once crashed, type bt and post the backtrace.



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

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.