Mário Gamito wrote:
> I'm getting several errors compiling courier-imap (they follow my
> signature).
>
> They're SSL/TLS related.
> I have openssl installed in /usr/local/ssl
>
> Before running make, i'v executed:
> $ export CPPFLAGS="-I/usr/local/ssl/include"
> $ export LDFLAGS="-L/usr/local/ssl/lib"
>
> 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
> `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.
--
Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Newbie]
[Audio]
[Hams]
[Kernel Newbies]
[Util Linux NG]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite Photos]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux Device Drivers]
[Samba]
[Video 4 Linux]
[Git]
[Linux Resources]
[Fedora Users]