buildworld: undefined reference to `SHA256_Update'
Ruslan Ermilov
ru at freebsd.org
Mon Oct 9 13:13:09 UTC 2006
On Mon, Oct 09, 2006 at 02:11:13PM +0200, Philip Paeps wrote:
> 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 sent a more complete patch (which includes also fixing static
linking).
> I wonder why libssh only lists libmd as a dependency in the !NO_KERBEROS case.
> Mysterious mystery...
>
Because it wasn't required before before the last OpenSSH upgrade.
It's also not required in -CURRENT because libcrypto in -CURRENT
has SHA256 functions, and doesn't need libmd.
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061009/11e09322/attachment.pgp
More information about the freebsd-stable
mailing list