make fatal error: openssl/sha.h: No such file or directory

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












41















I'm trying to compile a program that, according to the documentation, requires the "OpenSSL library". I have OpenSSL installed, and it's still giving me the error openssl/sha.h: No such file or directory. Is there some other library that has to be installed?










share|improve this question


























    41















    I'm trying to compile a program that, according to the documentation, requires the "OpenSSL library". I have OpenSSL installed, and it's still giving me the error openssl/sha.h: No such file or directory. Is there some other library that has to be installed?










    share|improve this question
























      41












      41








      41


      6






      I'm trying to compile a program that, according to the documentation, requires the "OpenSSL library". I have OpenSSL installed, and it's still giving me the error openssl/sha.h: No such file or directory. Is there some other library that has to be installed?










      share|improve this question














      I'm trying to compile a program that, according to the documentation, requires the "OpenSSL library". I have OpenSSL installed, and it's still giving me the error openssl/sha.h: No such file or directory. Is there some other library that has to be installed?







      debian make openssl ssl






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 20 '13 at 15:34









      tkbxtkbx

      3,44792539




      3,44792539




















          1 Answer
          1






          active

          oldest

          votes


















          68














          probably you are missing the openssl header files. depending on your distribution this package might have a different name, mostly it's something like openssl-dev or openssl-devel. after you installed the openssl header files, the compiler should be able to find openssl/sha.h.



          In Ubuntu/Debian the package is called libssl-dev.






          share|improve this answer

























          • Turns out it was "libcurl4-openssl-dev". Not sure what libcurl has do do with SSL or SHA256, but it worked.

            – tkbx
            Aug 20 '13 at 16:23







          • 2





            @tkbx /usr/include/openssl/sha.h is in libssl-dev in oldstable, stable and unstable.

            – Gilles
            Aug 20 '13 at 22:43











          • FYI: I already had libcurl4-openssl-dev installed. libssl-dev sorted this for me.

            – tjt263
            Jan 10 at 13:41









          protected by Community Jan 21 at 12:44



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?














          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          68














          probably you are missing the openssl header files. depending on your distribution this package might have a different name, mostly it's something like openssl-dev or openssl-devel. after you installed the openssl header files, the compiler should be able to find openssl/sha.h.



          In Ubuntu/Debian the package is called libssl-dev.






          share|improve this answer

























          • Turns out it was "libcurl4-openssl-dev". Not sure what libcurl has do do with SSL or SHA256, but it worked.

            – tkbx
            Aug 20 '13 at 16:23







          • 2





            @tkbx /usr/include/openssl/sha.h is in libssl-dev in oldstable, stable and unstable.

            – Gilles
            Aug 20 '13 at 22:43











          • FYI: I already had libcurl4-openssl-dev installed. libssl-dev sorted this for me.

            – tjt263
            Jan 10 at 13:41















          68














          probably you are missing the openssl header files. depending on your distribution this package might have a different name, mostly it's something like openssl-dev or openssl-devel. after you installed the openssl header files, the compiler should be able to find openssl/sha.h.



          In Ubuntu/Debian the package is called libssl-dev.






          share|improve this answer

























          • Turns out it was "libcurl4-openssl-dev". Not sure what libcurl has do do with SSL or SHA256, but it worked.

            – tkbx
            Aug 20 '13 at 16:23







          • 2





            @tkbx /usr/include/openssl/sha.h is in libssl-dev in oldstable, stable and unstable.

            – Gilles
            Aug 20 '13 at 22:43











          • FYI: I already had libcurl4-openssl-dev installed. libssl-dev sorted this for me.

            – tjt263
            Jan 10 at 13:41













          68












          68








          68







          probably you are missing the openssl header files. depending on your distribution this package might have a different name, mostly it's something like openssl-dev or openssl-devel. after you installed the openssl header files, the compiler should be able to find openssl/sha.h.



          In Ubuntu/Debian the package is called libssl-dev.






          share|improve this answer















          probably you are missing the openssl header files. depending on your distribution this package might have a different name, mostly it's something like openssl-dev or openssl-devel. after you installed the openssl header files, the compiler should be able to find openssl/sha.h.



          In Ubuntu/Debian the package is called libssl-dev.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 14 '14 at 13:15

























          answered Aug 20 '13 at 15:44









          replayreplay

          6,17211628




          6,17211628












          • Turns out it was "libcurl4-openssl-dev". Not sure what libcurl has do do with SSL or SHA256, but it worked.

            – tkbx
            Aug 20 '13 at 16:23







          • 2





            @tkbx /usr/include/openssl/sha.h is in libssl-dev in oldstable, stable and unstable.

            – Gilles
            Aug 20 '13 at 22:43











          • FYI: I already had libcurl4-openssl-dev installed. libssl-dev sorted this for me.

            – tjt263
            Jan 10 at 13:41

















          • Turns out it was "libcurl4-openssl-dev". Not sure what libcurl has do do with SSL or SHA256, but it worked.

            – tkbx
            Aug 20 '13 at 16:23







          • 2





            @tkbx /usr/include/openssl/sha.h is in libssl-dev in oldstable, stable and unstable.

            – Gilles
            Aug 20 '13 at 22:43











          • FYI: I already had libcurl4-openssl-dev installed. libssl-dev sorted this for me.

            – tjt263
            Jan 10 at 13:41
















          Turns out it was "libcurl4-openssl-dev". Not sure what libcurl has do do with SSL or SHA256, but it worked.

          – tkbx
          Aug 20 '13 at 16:23






          Turns out it was "libcurl4-openssl-dev". Not sure what libcurl has do do with SSL or SHA256, but it worked.

          – tkbx
          Aug 20 '13 at 16:23





          2




          2





          @tkbx /usr/include/openssl/sha.h is in libssl-dev in oldstable, stable and unstable.

          – Gilles
          Aug 20 '13 at 22:43





          @tkbx /usr/include/openssl/sha.h is in libssl-dev in oldstable, stable and unstable.

          – Gilles
          Aug 20 '13 at 22:43













          FYI: I already had libcurl4-openssl-dev installed. libssl-dev sorted this for me.

          – tjt263
          Jan 10 at 13:41





          FYI: I already had libcurl4-openssl-dev installed. libssl-dev sorted this for me.

          – tjt263
          Jan 10 at 13:41





          protected by Community Jan 21 at 12:44



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?


          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