
私はmacOS High Sierraを使っていて、ビルドしようとしていますjohn the ripper bleeding-jumbo
。フォルダ内でsrc
実行すると、./configure && make
次のメッセージが表示されます。
configure: error: JtR requires OpenSSL and OpenSSL-devel being installed. Install if not installed.
Try using --disable-pkg-config and possibly helping configure find oSSL by providing hints in CFLAGS and LDFLAGS
See `config.log' for more details
コマンドはwhich openssl
配信します
/usr/bin/openssl
openssl
インストールされていますが、見つからないようです。また、開発パッケージも見つからないようです。どうすればこれを回避できますか? openssl-devel のインストール方法に関する実用的なヒントも見つかりませんでした。brewopenssl
経由でインストールする方法に関する情報はいくつかありますが、これは機能しません。
答え1
そこで私はその問題を回避する解決策を見つけました。
以前の試みからbrew link openssl --force
私に言われた
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
そこで、メーリングリスト私は実行しました
export CFLAGS='-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib'
その後、再度設定を試みた
./configure --disable-pkg-config
それがSSLの問題の原因となった
答え2
のためにセントスユーザー:
libssl
libssl-dev
Ubuntu ユーザー向けです。
インストールOpenSSL
とOpenSSL-devel
ライブラリ。
yum install -y openssl openssl-devel
次に、新規にクリーンインストールしますJTR。
yum -y install wget gpgme
yum -y group install "Development Tools"
cd ~
wget http://www.openwall.com/john/k/john-1.9.0-jumbo-1.tar.xz
wget http://www.openwall.com/john/k/john-1.9.0-jumbo-1.tar.xz.sign
wget http://www.openwall.com/signatures/openwall-signatures.asc
gpg --import openwall-signatures.asc
gpg --verify john-1.9.0-jumbo-1.tar.xz.sign
tar xvfJ john-1.9.0-jumbo-1.tar.xz
cd john-1.9.0-jumbo-1/src
./configure && make
そして最後にテストJTR:
cd ../run/
./john --test