Skip site navigation (1)Skip section navigation (2)
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

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
> >=20
> > No, it doesn't.
>=20
> As a hackaround, this patch seems to work for me here:
>=20
> Index: Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 @@
> =20
>  NO_LINT=3D
> =20
> -DPADD+=3D        ${LIBCRYPTO} ${LIBCRYPT}
> -LDADD+=3D        -lcrypto -lcrypt
> +DPADD+=3D        ${LIBCRYPTO} ${LIBCRYPT} ${LIBMD}
> +LDADD+=3D        -lcrypto -lcrypt -lmd
> =20
>  .include <bsd.lib.mk>
>=20
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...
>=20
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,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFKkrYqRfpzJluFF4RArbjAKCMx6Po2JVKl/sg5lu+ES8BFGpYZwCgjA/u
miAMyU6V8W0dJK1poiA4viU=
=4p4F
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--



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