2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Compilation error
FromSent OnAttachments
Jan StanikAug 15, 2000 8:27 am 
Sam VarshavchikAug 15, 2000 2:49 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Compilation errorActions...
From:Sam Varshavchik (mrs@stop.mail-abuse.org)
Date:Aug 15, 2000 2:49:59 pm
List:net.sourceforge.lists.courier-users

Jan Stanik writes:

Hi,

When I try to compile courier-imap-0.99 on FreeBSD 4.0 with OpenSSL 0.9.5a installed, I always run in this error: ## gcc -I./.. -I.. -Wall -g -O2 -o couriertls starttls.o argparse.o libspipe.a ../rfc1035/librfc1035.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` -lssl -lcrypto starttls.o: In function `create_tls': /root/work/imap/courier-imap-0.99/tcpd/starttls.c(.text+0x76): undefined reference to `SSLv2_method' /root/work/imap/courier-imap-0.99/tcpd/starttls.c(.text+0x10e): undefined reference to `SSL_CTX_set_tmp_rsa_callback' /root/work/imap/courier-imap-0.99/tcpd/starttls.c(.text+0x1f5): undefined reference to `SSL_CTX_use_RSAPrivateKey_file' starttls.o: In function `rsa_callback': /root/work/imap/courier-imap-0.99/tcpd/starttls.c(.text+0x423): undefined reference to `RSA_generate_key' *** Error code 1

Stop in /root/work/imap/courier-imap-0.99/tcpd. *** Error code 1 ##

I think that OpenSSL is installed properly...

Probably not. ssl and crypto are being linked to, but the linker cannot find any SSL library functions.

Do you know where is the problem? Is there a way to compile imap without ssl? (I don't need it now)

Uninstall or reinstall OpenSSL.