Compilation 使用Cygwin在Windows 7上配置Hydra-7.4.2

Compilation 使用Cygwin在Windows 7上配置Hydra-7.4.2,compilation,cygwin,hydra,Compilation,Cygwin,Hydra,我正在尝试用Cygwin在我的Windows 7笔记本电脑上配置THC Hydra 7.4.2。我使用setup.exe安装了Cygwin,我选择了devel和MinGW包 当我执行/配置时,它很好。。尽管提到了一些缺失的模块。然后我被提示“现在输入“make” 执行此操作时,我会收到以下错误消息: PC@Z-PC ~/hydra/hydra-7.4.2 $ ./configure Starting hydra auto configuration ... Checking for open

我正在尝试用Cygwin在我的Windows 7笔记本电脑上配置THC Hydra 7.4.2。我使用setup.exe安装了Cygwin,我选择了devel和MinGW包

当我执行/配置时,它很好。。尽管提到了一些缺失的模块。然后我被提示“现在输入“make”

执行此操作时,我会收到以下错误消息:

PC@Z-PC ~/hydra/hydra-7.4.2
$ ./configure

Starting hydra auto configuration ...

Checking for openssl (libssl, libcrypto, ssl.h, sha.h) ...
                                                       ... found
Checking for idn (libidn.so) ...
                             ... found
Checking for curses (libcurses.so / term.h) ...
                                            ... found, color output enabled
Checking for pcre (libpcre.so, pcre.h) ...
                                       ... found
Checking for Postgres (libpq.so, libpq-fe.h) ...
                                             ... found
Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ...
                                                               ... found
Checking for firebird (libfbclient.so) ...
                                       ... NOT found, module firebird disabled
Checking for MYSQL client (libmysqlclient.so, math.h) ...
                                                      ... NOT found, module Mysq               l will not support version > 4.x
Checking for AFP (libafpclient.so) ...
                                   ... NOT found, module Apple Filing Protocol d               isabled - Apple sucks anyway
Checking for NCP (libncp.so / nwcalls.h) ...
                                         ... NOT found, module NCP disabled
Checking for SAP/R3 (librfc/saprfc.h) ...
                                      ... NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp
Checking for libssh (libssh/libssh.h) ...
                                      ... NOT found, module ssh disabled
Get it from http://www.libssh.org
Checking for Oracle (libocci.so libclntsh.so / oci.h and libaio.so) ...
                                                                    ... NOT foun               d, module Oracle disabled
Get basic and sdk package from http://www.oracle.com/technetwork/database/featur               es/instant-client/index.html
Checking for GUI req's (pkg-config, gtk+-2.0) ...
                                              ... found

Hydra will be installed into .../bin of: /usr/local
  (change this by running ./configure --prefix=path)

Writing Makefile.in ...

Cygwin detected, if compilation fails just update your installation.

Windres found, will attach icons to hydra cygwin executables

now type "make"

PC@Z-PC ~/hydra/hydra-7.4.2
$ make
gcc -I. -O3 -lm    -o hydra hydra-logo.o hydra.c hydra-vnc.o hydra-pcnfs.o hydra               -rexec.o hydra-nntp.o hydra-socks5.o  hydra-telnet.o hydra-cisco.o hydra-http.o                hydra-ftp.o hydra-imap.o  hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enabl               e.o hydra-ldap.o  hydra-mysql.o hydra-mssql.o hydra-xmpp.o hydra-http-proxy-urle               num.o  hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o hyd               ra-ssh.o  hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rl               ogin.o  hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o  hydr               a-oracle-sid.o hydra-oracle.o hydra-vmauthd.o hydra-firebird.o hydra-afp.o hydra               -ncp.o  hydra-http-proxy.o hydra-http-form.o hydra-irc.o  hydra-rdp.o crc32.o d3               des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o -lm -lcurses -lssl -lidn -lpcre                -lpq -lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1 -lcrypto -L/usr/lib -L/usr/               local/lib -L/lib -L/lib -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/               include/subversion-1 -DLIBOPENSSL -DLIBOPENSSLNEW -DLIBNCURSES -DLIBIDN -DHAVE_P               R29_H -DHAVE_PCRE -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H
/usr/lib/libpq.a(fe-connect.o): In function `ldapServiceLookup':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3541: undefined reference to `_ldap_init'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3553: undefined reference to `_ldap_simple_bind'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3563: undefined reference to `_ldap_result'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3576: undefined reference to `_ldap_msgfree'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3580: undefined reference to `_ldap_search_st'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3584: undefined reference to `_ldap_msgfree'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3585: undefined reference to `_ldap_err2string'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3588: undefined reference to `_ldap_unbind'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3594: undefined reference to `_ldap_count_entries'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3622: undefined reference to `_ldap_msgfree'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3623: undefined reference to `_ldap_unbind'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3569: undefined reference to `_ldap_msgfree'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3573: undefined reference to `_ldap_unbind'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3606: undefined reference to `_ldap_first_entry'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3618: undefined reference to `_ldap_get_values_len'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3628: undefined reference to `_ldap_msgfree'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3648: undefined reference to `_ldap_value_free_len'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3649: undefined reference to `_ldap_unbind'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3661: undefined reference to `_ldap_value_free_len'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-connect.c:3662: undefined reference to `_ldap_unbind'
/usr/lib/libpq.a(fe-misc.o): In function `libpq_gettext':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-misc.c:1202: undefined reference to `_libintl_bindtextdomain'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-misc.c:1210: undefined reference to `_libintl_dgettext'
/usr/lib/libpq.a(fe-misc.o): In function `pqSocketCheck':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-misc.c:1025: undefined reference to `_SSL_pending'
/usr/lib/libpq.a(fe-secure.o): In function `initialize_SSL':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1094: undefined reference to `_SSL_CTX_use_certificate_chain_file               '
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1104: undefined reference to `_SSL_use_certificate_file'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1183: undefined reference to `_SSL_use_PrivateKey'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1253: undefined reference to `_SSL_check_private_key'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1281: undefined reference to `_SSL_CTX_load_verify_locations'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1292: undefined reference to `_SSL_CTX_get_cert_store'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1322: undefined reference to `_SSL_set_verify'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1239: undefined reference to `_SSL_use_PrivateKey_file'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1357: undefined reference to `_SSL_ctrl'
/usr/lib/libpq.a(fe-secure.o): In function `init_ssl_system':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:946: undefined reference to `_TLSv1_method'
/usr/lib/libpq.a(fe-secure.o): In function `pqsecure_write':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:491: undefined reference to `_SSL_get_error'
/usr/lib/libpq.a(fe-secure.o): In function `pqsecure_read':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:330: undefined reference to `_SSL_get_error'
/usr/lib/libpq.a(fe-secure.o): In function `close_SSL':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1466: undefined reference to `_SSL_shutdown'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1467: undefined reference to `_SSL_free'
/usr/lib/libpq.a(fe-secure.o): In function `open_client_SSL':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1432: undefined reference to `_SSL_get_peer_certificate'
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:1381: undefined reference to `_SSL_get_error'
/usr/lib/libpq.a(fe-secure.o): In function `pqsecure_open_client':
/pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/lib               pq/fe-secure.c:259: undefined reference to `_SSL_set_ex_data'
/usr/lib/libpq.a(chklocale.o): In function `pg_get_encoding_from_locale':
/pub/devel/postgresql/postgresql-9.2.4-1/build/src/interfaces/libpq/chklocale.c:               269: undefined reference to `_libintl_setlocale'
/pub/devel/postgresql/postgresql-9.2.4-1/build/src/interfaces/libpq/chklocale.c:               277: undefined reference to `_libintl_setlocale'
/pub/devel/postgresql/postgresql-9.2.4-1/build/src/interfaces/libpq/chklocale.c:               292: undefined reference to `_libintl_setlocale'
/pub/devel/postgresql/postgresql-9.2.4-1/build/src/interfaces/libpq/chklocale.c:               298: undefined reference to `_libintl_setlocale'
/pub/devel/postgresql/postgresql-9.2.4-1/build/src/interfaces/libpq/chklocale.c:               351: undefined reference to `_libintl_gettext'
collect2: ld returned 1 exit status
Makefile:51: recipe for target `hydra' failed
make: *** [hydra] Error 1

我不确定它出了什么问题。。我试着用所有的软件包(下载时间很长)和默认的软件包重新安装Cygwin,但都不起作用。。感谢您的帮助。

好吧,似乎没有人在这个网站上有相关经验。我对这个网站的工作方式有点失望。。如果我问一个简单的问题,人们会投反对票,如果我问一些严肃的问题,我甚至不会收到任何评论

无论如何,我仍然不确定“Hydra-7.4.2”有什么问题,请注意,我已经安装了完整的cygwin包,在编译Hydra时仍然会出现“make”错误

为了测试,我安装并编译了“Hydra-6.1”。。。幸运的是它成功了!
因此,如果有人遇到同样的错误,请尝试移动到以前的版本,或者如果你破解了这个问题,请分享详细信息。

我刚刚在Cygwin上试用了Hydra 7.6。它禁用了PostgreSQL的使用,配置说明:

Checking for Postgres (libpq.so, libpq-fe.h) ...
                                         ... DISABLED - postgres is buggy in Cygwin at the moment

我想你的问题有答案了。这是一个错误。

我猜这是由于缺少软件包或安装错误(64位系统上的32位)造成的-这是我类似案例中的问题:Hydra 7.5+Cygwin最新版本,带有“默认”软件包设置。