mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] ssmtp compile with ssl support fails with linker error
Date: Mon, 12 Oct 2015 16:23:10 +0200	[thread overview]
Message-ID: <20151012142310.GA28244@graute-opti> (raw)
In-Reply-To: <20151012121529.GA5671@graute-opti>

On 12/10/15, Oliver Graute wrote:
> Hello list,
> 
> I got the following linking error during ssmtp compile with ssl
> support enabled. (without ssl support it works fine)
> 
> the error looks similar to the error which allready got fixed by this
> patch for sstmp:
> 
> 0004-configure-if-using-ssl-link-against-libcrypto-too.patch
> 
> Some Idea what I can do here? Is there another place to add -lcrypto?

this solved my problem, I provide a patch mail either.

--- a/configure
+++ b/configure
@@ -1562,7 +1562,7 @@ if test x$enableval = xyes ; then
 #define HAVE_SSL 1
 EOF

-      LIBS="$LIBS -lssl"
+      LIBS="$LIBS -lssl -lcrypto"


Best regards,

Oliver

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2015-10-12 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12 12:15 Oliver Graute
2015-10-12 14:23 ` Oliver Graute [this message]

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=20151012142310.GA28244@graute-opti \
    --to=oliver.graute@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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