Re: Error compiling courier-imap (problems with SSL/TLS)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux