Date: Mon, 9 Oct 2006 17:12:56 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: Tobias Roth <roth@iam.unibe.ch>, "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, stable@freebsd.org Subject: Re: buildworld: undefined reference to `SHA256_Update' Message-ID: <20061009131256.GA91645@rambler-co.ru> In-Reply-To: <20061009121113.GI81781@fasolt.home.paeps.cx> References: <20061007090725.GA3229@droopy.unibe.ch> <20061007094855.GA156@rambler-co.ru> <20061007100915.GA3356@droopy.unibe.ch> <20061009121113.GI81781@fasolt.home.paeps.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Mon, Oct 09, 2006 at 02:11:13PM +0200, Philip Paeps wrote:
> 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 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@FreeBSD.org
FreeBSD committer
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFFKkrYqRfpzJluFF4RArbjAKCMx6Po2JVKl/sg5lu+ES8BFGpYZwCgjA/u
miAMyU6V8W0dJK1poiA4viU=
=4p4F
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061009131256.GA91645>
