Closed DeadPackets closed 8 years ago
that is not error that is in error - it is your system.
you have a x64 compiler and the libraries you are compiling against are 32bit. If you have the right libraries somewhere, change the -L in the Makefile as first entry
Alright, will try and I'll let you know
Is there a way to install hydra or compile it on a x64 Ubuntu system without breaking everything? Even the -m32 flag doesnt work since it cant find its libraries
I have resolved the installation issue by compiling hydra in 32 bit. Thank you.
I was trying to install Hydra on termux but after typing './configure --de' this is what I got Starting hydra auto configuration ... Detected 32 Bit Linux OS
Checking for zlib (libz/zlib.h) ... ... zlib not found, gzip support disabled Checking for openssl (libssl/libcrypto/ssl.h/sha.h) ... ... NOT found, SSL support disabled Get it from http://www.openssl.org Checking for gcrypt (libgcrypt/gpg-error.h) ... ... gcrypt not found, radmin2 module disabled Checking for idn (libidn) ... ... NOT found, unicode logins and passwords will not be supported Checking for curses (libcurses/term.h) ... ... NOT found, color output disabled Checking for pcre (libpcre/pcre.h) ... ... NOT found, server response checks will be less reliable Checking for Postgres (libpq/libpq-fe.h) ... ... NOT found, module postgres disabled Checking for SVN (libsvn_client-1/libapr-1/libaprutil-1) ... ... NOT found, module svn disabled Checking for firebird (libfbclient) ... ... NOT found, module firebird disabled Checking for MYSQL client (libmysqlclient/math.h) ... ... math.h not found, module Mysql disabled Checking for AFP (libafpclient) ... ... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway Checking for NCP (libncp/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/libclntsh/oci.h/libaio/liboci) ... ... NOT found, module Oracle disabled Get basic and sdk package from http://www.oracle.com/technetwork/database/features/instant-client/index.html Checking for Memcached (libmemcached/memcached.h) ... ... NOT found, module memcached disabled Checking for Freerdp3 (libfreerdp3/freerdp.h/libwinpr3/winpr.h) ... ... NOT found, checking for freerdp2 module next... Checking for Freerdp2 (libfreerdp2/freerdp.h/libwinpr2/winpr.h) ... ... NOT found, module rdp disabled Checking for Mongodb (libmongoc-1.0/mongoc.h/libbson-1.0/bson.h) ... ... NOT found, module mongodb disabled Checking for smbclient (libsmbclient/libsmbclient.h) ... ... NOT found, module smb2 disabled Checking for GUI req's (pkg-config/gtk+-2.0) ... ... NOT found, optional anyway Checking for Android specialities ... ... strrchr() found Checking for secure compile option support in gcc ... Compiling... yes Linking... yes Checking for --allow-multiple-definition linker option ... yes
Hydra will be installed into .../bin of: /usr/local (change this by running ./configure --prefix=path)
Writing Makefile.in ... now type "make"
And after typing "make" there's an error cc -I. -O3 -g -fcommon -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -Wl,--allow-multiple-definition -g -c hydra-http-form.c clang-13: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang-13: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang-13: warning: -Wl,--allow-multiple-definition: 'linker' input unused [-Wunused-command-line-argument] clang-13: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] hydra-http-form.c:262:5: error: non-void function 'add_header' should return a value [-Wreturn-type] return; ^ hydra-http-form.c:349:71: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] hydra_report(stderr, "[ERROR] Out of memory (hdrrepv %lu)\n", strlen(new_value) + 1);
%u
1 warning and 1 error generated.
make: *** [Makefile:80: hydra-http-form.o] Error 1
Go to line 262 in the file hydra-http-form.c and replace the empty return statement with - "return 0;"
Im trying to update Hydra to the newest version, and this is what happens when I run ./configure --de ebug Starting hydra auto configuration ...
And when I check all these directories for those files, I find them. But hydra cant see them.
And when I run "make" I get this error:
I installed the previous versions of Hydra without issue, why is this happening now? Am I missing something?