Results 1 to 7 of 7

Thread: hydra-8.0 I can't install it...

  1. #1

    hydra-8.0 I can't install it...

    this is what i get after the make command: (Please advice)


    ~/hydra-8.0# make
    gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -lm -o hydra 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-enable.o hydra-ldap.o hydra-mysql.o hydra-mssql.o hydra-xmpp.o hydra-http-proxy-urlenum.o hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o hydra-ssh.o hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-oracle-sid.o hydra-oracle.o hydra-vmauthd.o hydra-asterisk.o hydra-firebird.o hydra-afp.o hydra-ncp.o hydra-http-proxy.o hydra-http-form.o hydra-irc.o hydra-redis.o hydra-rdp.o hydra-s7-300.c crc32.o d3des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o -lm -lcurses -lssl -lidn -lpcre -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H
    /usr/bin/ld: /usr/lib/libcurses.a(lib_setup.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/libcurses.a: could not read symbols: Bad value
    collect2: error: ld returned 1 exit status
    make: *** [hydra] Error 1[/B]


    Many thanks for your help in advance!!!

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Did yourecompile with -fPIC as mentioned in the error?

  3. #3
    no, how do i do that...? : )

  4. #4
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    I'm presuming you have all the dependencies installed

    apt-get install libssl-dev libssh-dev libidn11-dev libpcre3-dev \
    libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev \
    firebird2.1-dev libncp-dev

    Now, because i'm sure you are reading the readme file that comes with the git download, you know you need to go to your git directory (thx-hydra which is where you run make) and then run

    Code:
    ./configure CFLAGS=-fPIC CXXFLAGS=-fPIC FFLAGS=-fPIC
    Which should complete without error and then run make && make install
    Last edited by staticn0de; 2014-09-02 at 08:46.

  5. #5
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    if this can possibly be of help or input :
    I state not to be an expert :
    I did a test installation of hydra 8.1 (thc-hydra-master.zip FROM github) on kali 1.09x64 in --live mode and seems to have no errors !!

    http://www.imagestime.com/show.php/971205_a.PNG.html
    http://www.imagestime.com/show.php/971206_b.PNG.html

  6. #6
    zimmaro, thanks. I have tried that too but no luck either.

    staticnode, thank you but it's the same...I have installed hydra8 on two other machines but on this one it's a ****.

    currently running hydra7.5 without a problem...


    Edit:
    Swearing
    Last edited by g0tmi1k; 2015-03-31 at 09:32. Reason: Swearing

  7. #7
    Problem SOLVED! thanks for your time!

    http://phonylife.blog.com/2014/09/03...ror-hydra-8-0/

    1 check sourcelist is correct
    2 apt-get update %% apt-get upgrade && apt-get dist-upgrade
    3 (maybe you will get automatic update of what you wanted to install or upgrade – in my case – hydra-8.0)
    3 make sure you have ncurses-5.7 or ncurses-5.9 installed
    4 cd (hydra-8.0)
    5 run “make” (if the error message is still there-6)
    6 go to /usr/lib/libcurses.a and delete this file
    7 go to /root/ncurses-5.9/lib find libcurses.a and move it to /usr/lib/ (replace)
    8 go to – cd hydra-8.0 and run “make” again
    9 problem should be solved

Similar Threads

  1. cannot install hydra on kali 2.0 light
    By Noooob88 in forum General Archive
    Replies: 0
    Last Post: 2015-09-12, 11:17
  2. Hydra issue, hydra -R repeated
    By chrisso in forum General Archive
    Replies: 1
    Last Post: 2015-08-23, 19:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •