Hi, I’ve a problem trying to install libdomainkeys. I’ve resolved all …

Comment on How to enable Domain Keys (DKIM) in Qmail toaster based mail server install on Debian Linux by Barbara.

Hi,

I’ve a problem trying to install libdomainkeys. I’ve resolved all other problems and I’ve googled searching for mine but I cant’ find a solution for the followed error. Can you help me?

# cd /usr/src/libdomainkeys-0.69
# echo ‘-lresolv’ > dns.lib
# make clean & make
[2] 9655
rm -f *.o *.so libdomainkeys.a dns.lib dnstest socktest makeheader dktest testtrace domainkeys.h
gcc -DBIND_8_COMPAT -O2 -I /usr/local/ssl/include/openssl/ -o makeheader makeheader.c
./makeheader domainkeys.h
gcc -DBIND_8_COMPAT -O2 -I /usr/local/ssl/include/openssl/ -c dktest.c -I.
gcc -DBIND_8_COMPAT -O2 -I /usr/local/ssl/include/openssl/ -c domainkeys.c -I.
gcc -DBIND_8_COMPAT -O2 -I /usr/local/ssl/include/openssl/ -c dns_txt.c
gcc -DBIND_8_COMPAT -O2 -I /usr/local/ssl/include/openssl/ -c -o dktrace.o dktrace.c
rm -f libdomainkeys.a
ar cr libdomainkeys.a domainkeys.o dns_txt.o dktrace.o
ranlib libdomainkeys.a
(if make dnstest >/dev/null 2>&1; then echo -lresolv; else echo “”; fi) >dns.lib
rm -f dnstest
gcc -DBIND_8_COMPAT -O2 -I /usr/local/ssl/include/openssl/ -o dktest dktest.o -L. -ldomainkeys -lcrypto -lresolv `cat dns.lib` `cat socket.lib`
./libdomainkeys.a(domainkeys.o): In function `dk_getsig’:
domainkeys.c:(.text+0x621): undefined reference to `BIO_set_flags’
./libdomainkeys.a(domainkeys.o): In function `dk_end’:
domainkeys.c:(.text+0x20fd): undefined reference to `BIO_set_flags’
domainkeys.c:(.text+0x25f5): undefined reference to `BIO_set_flags’
collect2: ld returned 1 exit status
make: *** [dktest] Error 1
[2]- Done make clean

Barbara Also Commented

How to enable Domain Keys (DKIM) in Qmail toaster based mail server install on Debian Linux
Hi Georgi,

thank you very much for your answer. I’ve tried to install both version 0.67 and 0.68 but the result unfortunately doesn’t change.
I’m on Debian 3.1 with kernel 2.6.18.18 and gcc version 4.1.2
I’ve also updated openssl to the last stable but nothing change… Any other ideas?

Thanks again
Barbara


Share this on

No Responses to “Hi, I’ve a problem trying to install libdomainkeys. I’ve resolved all …”

  1. Mr WordPress says:
    Unknown Unknown Unknown Unknown

    Hi, this is a comment.
    To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.

    View CommentView Comment