ports/145769: final link of mail/fetchmail fails libhx509.so undefined reference to MD2_Init etc

Andrew Reilly areilly at bigpond.net.au
Tue Jul 20 08:58:25 UTC 2010


Hi Udo,

On Tue, 20 Jul 2010 10:41:40 +0200
"Schweigert, Udo CERT" <Udo.Schweigert at siemens.com> wrote:

> I think the problem is not related to the base system but to an incorrect
> installation of the openssl port. Please try to build openssl from the ports
> again with MD2 option enabled (an option which is per default set to "off").
> 
> That solved the same issue I had with the mutt-devel port.
> 
> (Having installed openssl from the ports results in two different versions of
> libcrypto to be available. The "-lcypto" flag to cc/ld then results in loading
> that from /usr/local/lib, which may not have the MD2-bits enabled if openssl
> was installed with the default options.)

I concur.  I've been running with openssl changed this way for a
couple of weeks now, all happy.  I thought that I'd reported this
to the list, but perhaps not.

I'm still confused why the base libhx509.so doesn't have a
dependency reference to the crypto lib, but clearly that is
neither here nor there.  (Adding one did "fix" my compilation
problems, though.)

Cheers,

-- 
Andrew



More information about the freebsd-ports-bugs mailing list