linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Glynn Clements <glynn@gclements.plus.com>
To: "Mário Gamito" <gamito@gmail.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: Error compiling courier-imap (problems with SSL/TLS)
Date: Fri, 9 Feb 2007 22:31:21 +0000	[thread overview]
Message-ID: <17868.63033.958310.299884@cerise.gclements.plus.com> (raw)
In-Reply-To: <45CCE13D.9050805@gmail.com>


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@gclements.plus.com>
-
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

  reply	other threads:[~2007-02-09 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 21:01 Error compiling courier-imap (problems with SSL/TLS) Mário Gamito
2007-02-09 22:31 ` Glynn Clements [this message]
2007-02-09 22:39   ` Mário Gamito
2007-02-10  0:11     ` Glynn Clements
2007-02-10  9:56     ` Benoît Rouits

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17868.63033.958310.299884@cerise.gclements.plus.com \
    --to=glynn@gclements.plus.com \
    --cc=gamito@gmail.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).