Linking with libarchive fails (Was: Re: buildworld fails.)
Tim Kientzle
kientzle at freebsd.org
Sun May 31 02:50:38 UTC 2009
Mel Flynn wrote:
> On Saturday 30 May 2009 09:03:06 Ed Schouten wrote:
>> * Tim Kientzle <kientzle at freebsd.org> wrote:
>>> You need: LDADD=-larchive -lmd -lcrypto
>>>
>>> One of the formats supported by libarchive has recently
>>> gained support for some cryptographic extensions which
>>> rely on the 'md' and 'crypto' libraries.
>> Can't this be solved by linking libarchive to libmd and libcrypto? That
>> way you don't have to link against those libraries explicitly.
>
> On a related note I find it illogical that SHA385/SHA512 is not in libmd while
> 256 and lower are. Is this a legal thing or infrastructure?
Don't know. Looks like OpenBSD has SHA384 and SHA512
in their standard libraries, so we should be able
to crib from there.
I don't know the legal issues, though.
Tim
More information about the freebsd-current
mailing list