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

Richard Levitte levitte at openssl.org
Sun Sep 17 07:56:33 UTC 2017



Matt Caswell <matt at openssl.org> skrev: (17 september 2017 15:04:10 GMT+08:00)
>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.

You have to look in the Makefile template to find it. 

>
>Matt
>
>
>
>> file.
>> 
>> For example: 
>>
>https://github.com/monero-project/monero/issues/2402#issuecomment-327514216
>> 
>> -- 
>>    -- Howard Chu
>>    CTO, Symas Corp.           http://www.symas.com
>>    Director, Highland Sun     http://highlandsun.com/hyc/
>>    Chief Architect, OpenLDAP  http://www.openldap.org/project/
>> -- 
>> openssl-dev mailing list
>> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
>> 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the openssl-dev mailing list