1 message in net.sourceforge.lists.courier-users[courier-users] courier-imap ssl comp...
FromSent OnAttachments
R HApr 24, 2005 12:32 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:[courier-users] courier-imap ssl compile problemActions...
From:R H (name@hotmail.com)
Date:Apr 24, 2005 12:32:58 pm
List:net.sourceforge.lists.courier-users

Hi there ;)

I try to install courier-imap-4.0.2 from source including ssl support. But i get following error while compiling:

----------------------------------------------------- libcouriertls.c: In Funktion »get_func«: libcouriertls.c:695: Warnung: Verarbeiten des Argumentes 2 von »d2i_SSL_SESSION« von inkompatiblem Zeigertyp Compiling tlsinfo.c Compiling tlscache.c rm -f libcouriertls.a ar cru libcouriertls.a libcouriertls.o tlsinfo.o tlscache.o ranlib libcouriertls.a Compiling argparse.c Compiling tcpd.c Compiling tcpdaccess.c Compiling tcpremoteinfo.c Linking couriertcpd Compiling starttls.c Linking couriertls libcouriertls.a(libcouriertls.o)(.text+0x4aa): In function `rsa_callback': : undefined reference to `RSA_generate_key' libcouriertls.a(libcouriertls.o)(.text+0x6b7): In function `process_rsacertfile': : undefined reference to `SSL_CTX_use_certificate_chain_file' libcouriertls.a(libcouriertls.o)(.text+0x6f8): In function `process_rsacertfile': : undefined reference to `SSL_CTX_use_RSAPrivateKey_file' libcouriertls.a(libcouriertls.o)(.text+0x760): In function `process_dhcertfile': : undefined reference to `SSL_CTX_use_certificate_chain_file' libcouriertls.a(libcouriertls.o)(.text+0x88f): In function `process_dhcertfile': : undefined reference to `SSL_CTX_use_PrivateKey_file' libcouriertls.a(libcouriertls.o)(.text+0xb5d): In function `tls_create': : undefined reference to `SSL_load_error_strings' libcouriertls.a(libcouriertls.o)(.text+0xb62): In function `tls_create': : undefined reference to `SSL_library_init' libcouriertls.a(libcouriertls.o)(.text+0xbea): In function `tls_create': : undefined reference to `SSLv2_method' libcouriertls.a(libcouriertls.o)(.text+0xc14): In function `tls_create': : undefined reference to `SSLv23_method' libcouriertls.a(libcouriertls.o)(.text+0xc21): In function `tls_create': : undefined reference to `TLSv1_method' libcouriertls.a(libcouriertls.o)(.text+0x132d): In function `cache_add': : undefined reference to `i2d_SSL_SESSION' libcouriertls.a(libcouriertls.o)(.text+0x13ff): In function `cache_add': : undefined reference to `i2d_SSL_SESSION' libcouriertls.a(libcouriertls.o)(.text+0x15a4): In function `get_func': : undefined reference to `d2i_SSL_SESSION' collect2: ld returned 1 exit status make[3]: *** [couriertls] Fehler 1 make[3]: Leaving directory `/downloads.d/courier-imap-4.0.2/tcpd' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/downloads.d/courier-imap-4.0.2/tcpd' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/downloads.d/courier-imap-4.0.2' make: *** [all] Fehler 2

-----------------------------------------------------

My installation script looks as follows: (/opt/courier-authlib ... e.g. are symlinks)

----------------------------------------------------- make clean

export CFLAGS="-I/opt/courier-authlib/include -I/opt/openssl/include" export LDFLAGS="-L/opt/openssl/lib -L/opt/courier-authlib/lib" export COURIERAUTHCONFIG="/opt/courier-authlib/bin/courierauthconfig"

./configure \ --prefix=/opt/courier-imap-4.0.1 \ --without-ipv6

make

#make check

#make install #make install-configure

What could be the reason for this error? Other programs who using the ssl lib (openssl 0.9.7g) are working very well.