[CentOS] curl build system is broken and so is mock

Thu Aug 4 00:33:09 UTC 2016
Thomas Eriksson <thomas.eriksson at slac.stanford.edu>

On 08/03/2016 05:23 PM, Alice Wonder wrote:
> On 08/03/2016 05:20 PM, Alice Wonder wrote:
>> On 08/03/2016 05:11 PM, Alice Wonder wrote:
>>> I'm having a major frustration with curl.
>>>
>>> When building curl, if libssl.so.10 is present the curl binary WILL link
>>> against it.
>>
>> *snip*
>>
>> Go ahead and ldd on the CentOS curl binary and library - you will see
>> openssl linked even though the spec file has --disable-ssl and
>> --enable-nss
>>
>> It's clearly broken.
>>
> 
> And building the CentOS curl package doesn't even BuildRequires the
> openssl-devel package.
> 
> It's linking against a library it doesn't have the headers for.
> 
> That's broken.

I haven't looked at how curl is built, butit is likely that the build
links against some other package that is, in turn, built against
OpenSSL.

You would not need the openssl-devel package to do that, only the
runtime libraries.

It looks like that package could be libssh2...

T.