Linking with libarchive fails (Was: Re: buildworld fails.)

Tim Kientzle kientzle at freebsd.org
Sat May 30 07:10:05 UTC 2009


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.

Ummm....  yeah, I suppose that would be the
completely obvious thing to do.

Thanks for the clue.

Done.

Tim


More information about the freebsd-current mailing list