bug-anubis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-anubis] Problems on CentOS 5.5


From: Markus Mahlberg
Subject: [bug-anubis] Problems on CentOS 5.5
Date: Fri, 19 Nov 2010 11:32:04 +0100

Hi list,

I encountered a few problems using Anubis 4.1.1 on Centos 5.5.

First problem:

I compiled Anubis the standard way, setting a few flags during configuration:

        ./configure --with-pcre --without-pam --with-socks-proxy 
--with-tcp-wrappers --with-gdbm --without-gsasl

It relays mails quite fine using the following configuration:


        ---BEGIN CONTROL---
        bind localhost:24
        remote-mta 172.29.100.199:25
        mode transparent
        user-notprivileged foobar

        termlevel debug
        loglevel all

        esmtp-allowed-mech DIGEST-MD5 CRAM-MD5 LOGIN ANONYMOUS
        ---END---

        ---BEGIN TRANSLATION---
        translate rpmbuild.my.domain into foobar
        ---END---

When adding a gpg-sign in either the system's anubisrc's RULE block or the 
user's,
The server stops communicating: "Connection closed by foreign host."

The output of anubis running in foreground is:
        [...]
        CLIENT >>> Subject: Test5(16)
        CLIENT >>> (2)
        CLIENT >>> test5(7)
        CLIENT >>> (2)
        CLIENT >>> .(3)
        Protocol: OpenPGP
        Executable: /usr/bin/gpg
        Version: 1.4.5
        Required Version: 1.3.0

My question here would be: what can I do to make it work _besides_ writing a 
patch ;)

The other problem:
When trying to compile anubis statically by defining LDFLAGS="-static" , the 
following error is thrown

        gpg.o: In function `gpg_error_from_errno':
        /usr/include/gpg-error.h:634: undefined reference to 
`gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(data.o): In 
function `_gpgme_data_new':
        (.text+0x578): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(data.o): In 
function `_gpgme_data_inbound_handler':
        (.text+0x791): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(data.o): In 
function `_gpgme_data_inbound_handler':
        (.text+0x79d): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(data.o): In 
function `_gpgme_data_inbound_handler':
        (.text+0x7b7): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(data.o):(.text+0x7f3):
 more undefined references to         `gpg_err_code_from_errno' follow
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(rungpg.o): 
In function `gpg_set_locale':
        (.text+0x69e): undefined reference to `gpg_err_code_from_syserror'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(rungpg.o): 
In function `_add_arg':
        (.text+0x790): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(rungpg.o): 
In function `add_data':
        (.text+0xb3e): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(rungpg.o): 
In function `gpg_keylist_preprocess':
        (.text+0xd83): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(rungpg.o): 
In function `colon_line_handler':
        (.text+0xfcd): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(rungpg.o): 
In function `append_args_from_sig_notations':
        (.text+0x1285): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(rungpg.o):(.text+0x12a9):
 more undefined references to      `gpg_err_code_from_errno' follow
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(error.o): 
In function `gpgme_strsource':
        (.text+0x61): undefined reference to `gpg_strsource'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(error.o): 
In function `gpgme_strerror_r':
        (.text+0x71): undefined reference to `gpg_strerror_r'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(error.o): 
In function `gpgme_strerror':
        (.text+0x81): undefined reference to `gpg_strerror'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(conversion.o):
 In function `_gpgme_decode_percent_string':
        (.text+0x316): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(conversion.o):
 In function `_gpgme_decode_c_string':
        (.text+0x5c1): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(get-env.o): 
In function `_gpgme_getenv':
        (.text+0x39): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(sig-notation.o):
 In function `_gpgme_sig_notation_create':
        (.text+0x168): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(sig-notation.o):
 In function `_gpgme_sig_notation_create':
        (.text+0x19a): undefined reference to `gpg_err_code_from_errno'
        
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libgpgme.a(wait.o):(.text+0x383):
 more undefined references to         `gpg_err_code_from_errno' follow
        
Am I missing something here?


Kind regards,

Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]