Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2010 14:51:37 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        freebsd-ports@freebsd.org
Subject:   MD2 Dependency in FreeBSD 8.0 - OpenSSL 1.0.0 Needs MD2 enabled
Message-ID:  <20100503045136.GA1357@rwpc12.mby.riverwillow.net.au>

next in thread | raw e-mail | index | archive | help

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

This is obviously a workaround but...

After updating ports (including security/openssl) on a FreeBSD 8-STABLE
(Feb 25) system, I couldn't build net/samba33.  This is what I saw...

  Linking bin/smbd
  /usr/lib/libhx509.so: undefined reference to `MD2_Init'
  /usr/lib/libhx509.so: undefined reference to `MD2_Final'
  /usr/lib/libhx509.so: undefined reference to `MD2_Update'
  gmake: *** [bin/smbd] Error 1
  *** Error code 1

OpenSSL 1.0.0 does not include MD2 by default but does include a knob:

  MD2     "Build with MD2 hash (obsolete)" off

If I re-build OpenSSL 1.0.0 with the "obsolete" MD2, then samba builds
happily.

Is there a better workaround until such time as the base system Heimdal
is updated?

--=20
John Marshall

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkveVlgACgkQw/tAaKKahKLk4ACfc4A9AC5HBgDBsVGVqpRZAlVw
H1UAniAs5ZlyGJQxsNu4IauVZLPFwbnS
=2pvt
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--



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