与OpenSSL的支持
问题描述:
安装的Hydra当我尝试从源代码与./configure
安装的Hydra我得到的出现以下消息:与OpenSSL的支持
Checking for openssl (libssl, libcrypto, ssl.h, sha.h) ...
... NOT found, SSL support disabled
然而,which openssl
显示:/usr/bin/openssl
而且libssl.so
& libcrypto.so
驻留在:/usr/lib/arm-linux-gnueabihf
所以,我使用其中一个配置选项强制前缀,因为它表明我可以:
./configure --help
Options:
--prefix=path path to install hydra and its datafiles to
--with-oracle=prefix prefix for oracle include dir
--with-oracle-lib=prefix prefix for oracle lib dir
--with-ssl=prefix prefix for SSL headers
--with-ssl-lib=prefix prefix for SSL libraries
--disable-xhydra disable compilation of hydra GUI
--nostrip do not per default strip binaries before install
--debug show debug output to trace errors
--help this here
所以,我已经试过这样的变化,但仍与支持SSL的配置没有运气:
./configure --with-ssl-lib=/usr/lib/arm-linux-gnueabihf/
缺少什么我在这里?
答
您需要编辑您的makefile以专门引用brew的已安装版本的openssl。
运行./configure
编辑后,新创建的Makefile文件,改变第一线的样子:
CC=gcc -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
这应该可以解决所有那些讨厌的SSL相关的错误编译器在你扔。