mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Mehlan <markus.mehlan@ritter.info>
To: ptxdist@pengutronix.de
Subject: [ptxdist] build error ssmtp-2.64 with ptxdist-2012.12.0
Date: Fri, 25 Jan 2013 13:29:36 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130125T142304-239@post.gmane.org> (raw)

Hi,

I get a build error, when i build ssmtp with ssl-support. I am using
ptxdist-2012.12.0.

/home/meh/projects/pvcontrol/ptxdist/PVCONTROL-ptxdist/platform-mini2440/
sysroot-target/usr/lib/libcrypto.so.1.0.0:
could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: Leaving directory
`/home/meh/projects/pvcontrol/ptxdist/PVCONTROL-ptxdist/platform-mini2440/
build-target/ssmtp-2.64'


This patch resolves the problem.

diff -Naur ssmtp-2.64.orig/configure ssmtp-2.64/configure
--- ssmtp-2.64.orig/configure	2013-01-24 08:03:35.260594453 +0100
+++ ssmtp-2.64/configure	2013-01-25 14:09:52.860939049 +0100
@@ -1562,7 +1562,7 @@
 #define HAVE_SSL 1
 EOF
 
-	LIBS="$LIBS -lssl"
+	LIBS="$LIBS -lssl -lcrypto"
 fi
 enableval=""

Best regards,
Markus


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2013-01-25 13:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=loom.20130125T142304-239@post.gmane.org \
    --to=markus.mehlan@ritter.info \
    --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