エラー: OpenSSLライブラリが見つかりません。opensslがインストールされていて、libssl.soが/usr/local/libにある場合

エラー: OpenSSLライブラリが見つかりません。opensslがインストールされていて、libssl.soが/usr/local/libにある場合

コンパイルしようとしていますクラックUbuntu 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
  • 別の Ubuntu 16.06 ボックスを試したところ、コンパイルできましたが、なぜ失敗するのでしょうか?

ncrackのソースコードとconfigure.acファイルをチェックしたい場合は、すべてhttps://github.com/nmap/ncrack

関連情報