scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory


rk3399skd編譯kernel 報錯:

scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
   21 | #include <openssl/bio.h>
      |  

 

原因是沒有安裝    libssl-dev

解決方法:

  sudo apt-get install libssl-dev

 

安裝 sudo apt-get install libssl-dev 報錯

  libssl-dev : Depends: libssl1.1 (= 1.1.1f-1ubuntu2) but 1.1.1f-1ubuntu2.3 is to be installed
E: Unable to correct problems, you have held broken packages.

libssl-dev  依賴 libssl1.1  所以安裝這個庫就好了。。。。。。

解決方法:

  sudo apt-get install libssl1.1=1.1.1f-1ubuntu2


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM