ports/145769: final link of mail/fetchmail fails libhx509.so undefined reference to MD2_Init etc
Matthias Andree
matthias.andree at gmx.de
Fri Jun 25 11:30:04 UTC 2010
The following reply was made to PR ports/145769; it has been noted by GNATS.
From: "Matthias Andree" <matthias.andree at gmx.de>
To: "Stefan Walter" <stefan at freebsd.org>, "Andrew Reilly"
<areilly at bigpond.net.au>
Cc: "Edwin Groothuis" <edwin at freebsd.org>, GNATS
<FreeBSD-gnats-submit at freebsd.org>
Subject: Re: ports/145769: final link of mail/fetchmail fails libhx509.so
undefined reference to MD2_Init etc
Date: Fri, 25 Jun 2010 13:26:50 +0200
Andrew Reilly wrote on 2010-06-25:
> Who knows how dynamic linking works? I don't but I've tracked down the
> fact that the symbols missing from libhx509.so (MD2_Init etc) *are*
> defined by /lib/libcrypto.so, but libhx509.so doesn't show that
> dependency when you run ldd on it. I'm afraid that I don't know how to
> change that situation, but I believe that it would make a difference to
> those builds.
Either it's an ELF field that gets listed as "NEEDED" with readelf -d
libhx509.so,
or it's the <dlfcn.h> stuff with dlopen(3), dlclose(3), dlerror(3) and
dlsym(3).
--
Matthias Andree
More information about the freebsd-ports-bugs
mailing list