--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Re: gold fails to link ssmtp
- From: Aníbal Monsalve Salazar <anibal@debian.org>
- Date: Fri, 17 Sep 2010 00:46:59 +0000
- Message-id: <20100917004658.GA2752@mapuche.apana.org.au>
- In-reply-to: <AANLkTi=e4LDWMZAugMVf0NhJHNwCyDpoPhJ7rFwDO0nh@mail.gmail.com>
- References: <AANLkTingPD0Ei0Bq8tjqOnrrVc6r23n0sUHYzo9jcspz@mail.gmail.com> <AANLkTi=e4LDWMZAugMVf0NhJHNwCyDpoPhJ7rFwDO0nh@mail.gmail.com>
Package: ssmtp
Version: 2.64-4
Owner: Raymes Khoury <raymes.khoury@gmail.com>
Tags: patch
On Thu, Sep 16, 2010 at 05:21:57PM -0700, Raymes Khoury wrote:
>Hi,
>
>I just filed a bug on gentoo bugzilla but this should be upstreamed.
>Please refer to: https://bugs.gentoo.org/show_bug.cgi?id=337730
>
>Thanks,
>
>Raymes
Raymes, thank you for the patch below.
diff -ru ssmtp/configure ssmtp.patched/configure
--- ssmtp/configure 2010-09-16 17:10:00.000000000 -0700
+++ ssmtp.patched/configure 2010-09-16 17:09:11.000000000 -0700
@@ -4420,7 +4420,7 @@
#define HAVE_SSL 1
_ACEOF
- LIBS="$LIBS -lssl"
+ LIBS="$LIBS -lssl -lcrypto"
fi
enableval=""
diff -ru ssmtp/configure.in ssmtp.patched/configure.in
--- ssmtp/configure.in 2010-09-16 17:09:51.000000000 -0700
+++ ssmtp.patched/configure.in 2010-09-16 17:09:11.000000000 -0700
@@ -52,7 +52,7 @@
[ --enable-ssl support for secure connection to mail server])
if test x$enableval = xyes ; then
AC_DEFINE(HAVE_SSL)
- LIBS="$LIBS -lssl"
+ LIBS="$LIBS -lssl -lcrypto"
fi
enableval=""
--- End Message ---