From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glynn Clements Subject: Re: Error compiling courier-imap (problems with SSL/TLS) Date: Fri, 9 Feb 2007 22:31:21 +0000 Message-ID: <17868.63033.958310.299884@cerise.gclements.plus.com> References: <45CCE13D.9050805@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <45CCE13D.9050805@gmail.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="iso-8859-1" To: =?ISO-8859-1?Q?M=E1rio_Gamito?= Cc: linux-admin@vger.kernel.org M=E1rio Gamito wrote: > I'm getting several errors compiling courier-imap (they follow my=20 > signature). >=20 > They're SSL/TLS related. > I have openssl installed in /usr/local/ssl >=20 > Before running make, i'v executed: > $ export CPPFLAGS=3D"-I/usr/local/ssl/include" > $ export LDFLAGS=3D"-L/usr/local/ssl/lib" >=20 > Any help would be appreciated. > ./.libs/libcouriertls.a(libcouriertls.o)(.text+0x697):/usr/local/src/= courier-ima > p-4.1.2/tcpd/libcouriertls.c:280: undefined reference to=20 > `SSL_CTX_use_RSAPrivate Key_file' Tip: if you need to paste error messages into an email message, don't try to scrape the text out of a terminal window; redirect the "make" output to a file, then either paste from that or, if your mail client insists upon line-wrapping, include the relevant portion of the file as an attachment. Anyhow, judging from the error messages, I'd say that you need to add -lssl (and possibly -ldl) to the linking flags. --=20 Glynn Clements - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html