“openssl/ssl.h: No such file or directory” during Installation of Git

前端 未结 6 1914
心在旅途
心在旅途 2020-12-30 23:31

Trying to install git on the Unix and Linux machines based on the instructions on Installing Git blog, and it is failing with the below error

make prefix=/u         


        
6条回答
  •  死守一世寂寞
    2020-12-31 00:15

    For ubuntu i installed openssl and libssl-dev

    sudo apt install openssl libssl-dev

    After checking configure file code, i found it is searching for "include/openssl/ssl.h" in predefined paths

    You can find it on your system and can run configure with --with-openssl

    E.g. if you found ssl.h in /usr/include/openssl/ssl.h then you can run below command

    ./configure --with-openssl=/usr/

提交回复
热议问题