Check whether libcurl was compiled with OpenSSL or NSS from static lib binary only

General support questions
Post Reply
uvertiruzo
Posts: 1
Joined: 2020/06/01 06:30:40

Check whether libcurl was compiled with OpenSSL or NSS from static lib binary only

Post by uvertiruzo » 2020/06/04 05:22:17

I'd like to know, just from the static library binary of OpenSSL, whether it was compiled using OpenSSL or NSS. We don't have access to any record of how the binary was compiled or know anyone who was involved in compiling it.

Is this possible?

The binary is for Centos6 if that makes a difference. The binary is version 7.38.0 of libcurl.

User avatar
TrevorH
Forum Moderator
Posts: 29444
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Check whether libcurl was compiled with OpenSSL or NSS from static lib binary only

Post by TrevorH » 2020/06/04 08:33:09

You are not using the version of curl that ships with CentOS 6 which is curl-7.19.7-54.el6_10.x86_64 not 7.38.

Running ldd -v $(which curl) will show you which libraries it uses. On the correct CentOS copy that shows lots of references to NSS and one line that refers to openssl: libcrypto.so.10 (OPENSSL_1.0.1_EC) => /usr/lib64/libcrypto.so.10
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 6 - General Support”