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

前端 未结 6 1915
心在旅途
心在旅途 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:24

    The following fixed compiling python 3.8.1 with ssl

       locate ssl.h
        /usr/include/openssl/ssl.h
    
       $ pwd
        /var/opt/python381/Python-3.8.1
        $ ln -s /usr/include/openssl
    

    Result

    ./configure
    
    ~~
    
    checking whether compiling and linking against OpenSSL works... yes
    checking for X509_VERIFY_PARAM_set1_host in libssl... yes
    

提交回复
热议问题