오류: OpenSSL 라이브러리를 찾을 수 없습니다. openssl이 설치되어 있고 /usr/local/lib에 libssl.so가 있는 경우

오류: OpenSSL 라이브러리를 찾을 수 없습니다. openssl이 설치되어 있고 /usr/local/lib에 libssl.so가 있는 경우

컴파일하려고하는데균열우분투 16.04에서

./configure소스에서 opensll 1.1.0h를 설치한 모든 종속성을 얻으려면 ncrack을 실행할 때 이 오류가 계속 발생합니다.

checking OpenSSL header version... 1010008f (OpenSSL 1.1.0h  27 Mar 2018)
checking OpenSSL library version... not found
configure: error: OpenSSL library not found.
configure: error: ./configure failed for opensshlib

이미 시도한 솔루션:

  • openssl 재설치
  • apt install libssl-dev
  • ldconfig/usr/local/lib에 추가한 후/etc/ld.so.conf
  • ./configure --with-openssl=/usr/local --with-libopenssh=/usr/local
  • 다른 우분투 16.06 상자를 시도했는데 컴파일이 되는데 왜 실패합니까?

ncrack 소스 코드와 configure.ac 파일을 확인하고 싶다면 모두 다음 위치에 있습니다.https://github.com/nmap/ncrack

관련 정보