buildworld: undefined reference to `SHA256_Update'

Philip Paeps philip at freebsd.org
Mon Oct 9 12:12:58 UTC 2006


On 2006-10-07 12:09:15 (+0200), Tobias Roth <roth at 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 at freebsd.org                               subscribed to the list.

  BOFH Excuse #23:
    improperly oriented keyboard


More information about the freebsd-stable mailing list