[openssl-dev] libcrypto.pc needs to list libpthread as a dependency

Kurt Roeckx kurt at roeckx.be
Sun Sep 17 17:24:42 UTC 2017


On Sun, Sep 17, 2017 at 08:04:10AM +0100, Matt Caswell wrote:
> On Sat, 16 Sep 2017 22:26:10 +0100
> Howard Chu via openssl-dev <openssl-dev at openssl.org> wrote:
> 
> > In OpenSSL 1.1 on Linux (at least) libcrypto now has a dependency on 
> > libpthread but this is not reflected in the pkgconfig file. As a result, tools 
> > like CMake fail to detect libcrypto properly when linking against the static 
> > library. libpthread should be added to the Libs.private line of the pkgconfig 
> 
> Hmmm - there is no pkgconfig file at all in 1.1.0. It was removed because it was felt this was better added by OS specific packages. If you have one it probably came from the package for your specific distro not the openssl project itself.

The .pc files are still in master.


Kurt



More information about the openssl-dev mailing list