Manual install of curl can't find openssl

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












My system (Centos7) install of curl doesn't support https. So I followed this answer downloaded from source and installed myself, using the ./configure --with-ssl option.



I got the following warning while configuring:



checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
checking for ssl_version in -laxtls... no
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.


As a result, my curl build does not support https.



Open SSL is installed on my system:



[user@server curl-7.61.0]$ which openssl
/usr/bin/openssl


How can I get my curl install to find openssl and support HTTPS?










share|improve this question





















  • Why do you think it doesn't support https? The standard CentOS 7 curl package does support https and /usr/bin/curl is linked with libssl.so
    – Doug O'Neal
    Aug 23 at 15:08










  • @DougO'Neal When i did curl -V is didn't list https as supported. More precisely, git won't push or pull because Protocol https not supported or disabled in libcurl
    – kingledion
    Aug 23 at 15:10










  • First, curl and libcurl are separate packages. Second, the CentOS libcurl is also linked with libssl3.so. curl -V should return curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 along with Protocols and Features that include https and SSL. can you provide the output of which curl and locate libcurl?
    – Doug O'Neal
    Aug 23 at 15:18










  • So I have two curls on the system now, one at /usr/bin/ and one at /usr/local/bin, and there are libcurl.so files for each. I think I have this solved, I just need to get down to only one curl on the system.
    – kingledion
    Aug 23 at 15:39














up vote
0
down vote

favorite












My system (Centos7) install of curl doesn't support https. So I followed this answer downloaded from source and installed myself, using the ./configure --with-ssl option.



I got the following warning while configuring:



checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
checking for ssl_version in -laxtls... no
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.


As a result, my curl build does not support https.



Open SSL is installed on my system:



[user@server curl-7.61.0]$ which openssl
/usr/bin/openssl


How can I get my curl install to find openssl and support HTTPS?










share|improve this question





















  • Why do you think it doesn't support https? The standard CentOS 7 curl package does support https and /usr/bin/curl is linked with libssl.so
    – Doug O'Neal
    Aug 23 at 15:08










  • @DougO'Neal When i did curl -V is didn't list https as supported. More precisely, git won't push or pull because Protocol https not supported or disabled in libcurl
    – kingledion
    Aug 23 at 15:10










  • First, curl and libcurl are separate packages. Second, the CentOS libcurl is also linked with libssl3.so. curl -V should return curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 along with Protocols and Features that include https and SSL. can you provide the output of which curl and locate libcurl?
    – Doug O'Neal
    Aug 23 at 15:18










  • So I have two curls on the system now, one at /usr/bin/ and one at /usr/local/bin, and there are libcurl.so files for each. I think I have this solved, I just need to get down to only one curl on the system.
    – kingledion
    Aug 23 at 15:39












up vote
0
down vote

favorite









up vote
0
down vote

favorite











My system (Centos7) install of curl doesn't support https. So I followed this answer downloaded from source and installed myself, using the ./configure --with-ssl option.



I got the following warning while configuring:



checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
checking for ssl_version in -laxtls... no
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.


As a result, my curl build does not support https.



Open SSL is installed on my system:



[user@server curl-7.61.0]$ which openssl
/usr/bin/openssl


How can I get my curl install to find openssl and support HTTPS?










share|improve this question













My system (Centos7) install of curl doesn't support https. So I followed this answer downloaded from source and installed myself, using the ./configure --with-ssl option.



I got the following warning while configuring:



checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
checking for ssl_version in -laxtls... no
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.


As a result, my curl build does not support https.



Open SSL is installed on my system:



[user@server curl-7.61.0]$ which openssl
/usr/bin/openssl


How can I get my curl install to find openssl and support HTTPS?







centos curl openssl






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 23 at 13:53









kingledion

1033




1033











  • Why do you think it doesn't support https? The standard CentOS 7 curl package does support https and /usr/bin/curl is linked with libssl.so
    – Doug O'Neal
    Aug 23 at 15:08










  • @DougO'Neal When i did curl -V is didn't list https as supported. More precisely, git won't push or pull because Protocol https not supported or disabled in libcurl
    – kingledion
    Aug 23 at 15:10










  • First, curl and libcurl are separate packages. Second, the CentOS libcurl is also linked with libssl3.so. curl -V should return curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 along with Protocols and Features that include https and SSL. can you provide the output of which curl and locate libcurl?
    – Doug O'Neal
    Aug 23 at 15:18










  • So I have two curls on the system now, one at /usr/bin/ and one at /usr/local/bin, and there are libcurl.so files for each. I think I have this solved, I just need to get down to only one curl on the system.
    – kingledion
    Aug 23 at 15:39
















  • Why do you think it doesn't support https? The standard CentOS 7 curl package does support https and /usr/bin/curl is linked with libssl.so
    – Doug O'Neal
    Aug 23 at 15:08










  • @DougO'Neal When i did curl -V is didn't list https as supported. More precisely, git won't push or pull because Protocol https not supported or disabled in libcurl
    – kingledion
    Aug 23 at 15:10










  • First, curl and libcurl are separate packages. Second, the CentOS libcurl is also linked with libssl3.so. curl -V should return curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 along with Protocols and Features that include https and SSL. can you provide the output of which curl and locate libcurl?
    – Doug O'Neal
    Aug 23 at 15:18










  • So I have two curls on the system now, one at /usr/bin/ and one at /usr/local/bin, and there are libcurl.so files for each. I think I have this solved, I just need to get down to only one curl on the system.
    – kingledion
    Aug 23 at 15:39















Why do you think it doesn't support https? The standard CentOS 7 curl package does support https and /usr/bin/curl is linked with libssl.so
– Doug O'Neal
Aug 23 at 15:08




Why do you think it doesn't support https? The standard CentOS 7 curl package does support https and /usr/bin/curl is linked with libssl.so
– Doug O'Neal
Aug 23 at 15:08












@DougO'Neal When i did curl -V is didn't list https as supported. More precisely, git won't push or pull because Protocol https not supported or disabled in libcurl
– kingledion
Aug 23 at 15:10




@DougO'Neal When i did curl -V is didn't list https as supported. More precisely, git won't push or pull because Protocol https not supported or disabled in libcurl
– kingledion
Aug 23 at 15:10












First, curl and libcurl are separate packages. Second, the CentOS libcurl is also linked with libssl3.so. curl -V should return curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 along with Protocols and Features that include https and SSL. can you provide the output of which curl and locate libcurl?
– Doug O'Neal
Aug 23 at 15:18




First, curl and libcurl are separate packages. Second, the CentOS libcurl is also linked with libssl3.so. curl -V should return curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 along with Protocols and Features that include https and SSL. can you provide the output of which curl and locate libcurl?
– Doug O'Neal
Aug 23 at 15:18












So I have two curls on the system now, one at /usr/bin/ and one at /usr/local/bin, and there are libcurl.so files for each. I think I have this solved, I just need to get down to only one curl on the system.
– kingledion
Aug 23 at 15:39




So I have two curls on the system now, one at /usr/bin/ and one at /usr/local/bin, and there are libcurl.so files for each. I think I have this solved, I just need to get down to only one curl on the system.
– kingledion
Aug 23 at 15:39










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










To satisfy the configure script and have your compiled curl support OpenSSL, you'll need to install the corresponding development package, openssl-devel.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f464404%2fmanual-install-of-curl-cant-find-openssl%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    To satisfy the configure script and have your compiled curl support OpenSSL, you'll need to install the corresponding development package, openssl-devel.






    share|improve this answer
























      up vote
      1
      down vote



      accepted










      To satisfy the configure script and have your compiled curl support OpenSSL, you'll need to install the corresponding development package, openssl-devel.






      share|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        To satisfy the configure script and have your compiled curl support OpenSSL, you'll need to install the corresponding development package, openssl-devel.






        share|improve this answer












        To satisfy the configure script and have your compiled curl support OpenSSL, you'll need to install the corresponding development package, openssl-devel.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 23 at 14:18









        telcoM

        11.7k11333




        11.7k11333



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f464404%2fmanual-install-of-curl-cant-find-openssl%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay