Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 14:11:13 +0200
From:      Philip Paeps <philip@freebsd.org>
To:        Tobias Roth <roth@iam.unibe.ch>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, stable@freebsd.org
Subject:   Re: buildworld: undefined reference to `SHA256_Update'
Message-ID:  <20061009121113.GI81781@fasolt.home.paeps.cx>
In-Reply-To: <20061007100915.GA3356@droopy.unibe.ch>
References:  <20061007090725.GA3229@droopy.unibe.ch> <20061007094855.GA156@rambler-co.ru> <20061007100915.GA3356@droopy.unibe.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-10-07 12:09:15 (+0200), Tobias Roth <roth@iam.unibe.ch> wrote:
> On Sat, Oct 07, 2006 at 01:48:55PM +0400, Ruslan Ermilov wrote:
> > Verify that libssh.so in objdir lists libmd as its dependency.
> 
> No, it doesn't.

As a hackaround, this patch seems to work for me here:

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/secure/lib/libssh/Makefile,v
retrieving revision 1.34.2.4
diff -u -r1.34.2.4 Makefile
--- Makefile    6 Oct 2006 14:07:23 -0000       1.34.2.4
+++ Makefile    9 Oct 2006 12:10:08 -0000
@@ -38,8 +38,8 @@
 
 NO_LINT=
 
-DPADD+=        ${LIBCRYPTO} ${LIBCRYPT}
-LDADD+=        -lcrypto -lcrypt
+DPADD+=        ${LIBCRYPTO} ${LIBCRYPT} ${LIBMD}
+LDADD+=        -lcrypto -lcrypt -lmd
 
 .include <bsd.lib.mk>

I wonder why libssh only lists libmd as a dependency in the !NO_KERBEROS case.
Mysterious mystery...

 - Philip

-- 
Philip Paeps                                    Please don't Cc me, I am
philip@freebsd.org                               subscribed to the list.

  BOFH Excuse #23:
    improperly oriented keyboard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061009121113.GI81781>