Results 1 to 5 of 5

Thread: problem compiling hydra

  1. #1
    Junior Member
    Join Date
    Feb 2006
    Posts
    26

    problem compiling hydra

    hi whats up ?

    i have a littel problem with hydra ,

    i installed hydra in my 2 other pcs and its was ok but no i have a problem .

    the problem is :

    box:/home/mr-unix/hydra-5.2-src# ./configure

    Starting hydra auto configuration ...

    Checking for openssl (libssl/ssl.h) ...
    ... found
    Checking for Postgres (libpq) ...
    ... found
    Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ...
    ... found
    Checking for SAP/R3 (librfc/saprfc.h) ...
    ... NOT found, module sapr3 disabled
    Get it from http://www.sap.com/solutions/netweav...eval/index.asp
    Checking for libssh (libssh/libssh.h) ...
    ... found
    NOTE: ensure that you have libssh v0.11 installed!! Get it from http://0xbadc0de.be !

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

    Writing Makefile.in ...

    box:/home/mr-unix/hydra-5.2-src# ./configure

    Starting hydra auto configuration ...

    Checking for openssl (libssl/ssl.h) ...
    ... found
    Checking for Postgres (libpq) ...
    ... found
    Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ...
    ... found
    Checking for SAP/R3 (librfc/saprfc.h) ...
    ... NOT found, module sapr3 disabled
    Get it from http://www.sap.com/solutions/netweav...eval/index.asp
    Checking for libssh (libssh/libssh.h) ...
    ... found
    NOTE: ensure that you have libssh v0.11 installed!! Get it from http://0xbadc0de.be !

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

    Writing Makefile.in ...

    NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES NOTES
    =======================================================================
    ARM/PalmPilot users: please run ./configure-arm or ./configure-palm respectivly

    now type "make"
    box:/home/mrunix/hydra-5.2-src# make
    gcc -I. -Wall -O2 -o pw-inspector pw-inspector.c
    gcc -I. -Wall -O2 -c hydra-vnc.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-pcnfs.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-rexec.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-nntp.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-socks5.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-telnet.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-cisco.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-http.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-ftp.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-imap.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-pop3.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-smb.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-icq.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-cisco-enable.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-ldap.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-mysql.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-http-proxy.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-smbnt.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-mssql.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-snmp.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-cvs.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-smtpauth.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-sapr3.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-ssh2.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    hydra-ssh2.c:10:2: warning: #warning "If compilation of hydra-ssh2 fails, you are not using v0.11. Download from http://www.0xbadc0de.be/"
    gcc -I. -Wall -O2 -c hydra-teamspeak.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-postgres.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-rsh.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-rlogin.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-oracle-listener.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    hydra-oracle-listener.c:10:2: warning: #warning "The Oracle Listener module does not work yet"
    gcc -I. -Wall -O2 -c hydra-svn.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-pcanywhere.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-sip.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-vmauthd.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c crc32.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c d3des.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c md4.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra-mod.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -c hydra.c -DLIBOPENSSL -DLIBPOSTGRES -DLIBSSH -I/usr/local/include
    gcc -I. -Wall -O2 -lm -o hydra 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.ohydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-mysql.o hydra-http-proxy.o hydra-smbnt.o hydra-mssql.o hydra-snmp.o hydra-cvs.o hydra-smtpauth.o hydra-sapr3.o hydra-ssh2.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-vmauthd.o crc32.o d3des.o md4.o hydra-mod.o hydra.o -lm -lssl -lpq -lssh -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib -L/usr/local/lib -L/usr/lib
    /usr/bin/ld: cannot find -lpq
    collect2: ld returned 1 exit status
    make: *** [hydra] Error 1

    how can i fix this problem??

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    It's complaining about missing libpq.. Libpq is part of PostgreSQL..


    libpq is the C application programmer's interface to PostgreSQL. libpq is a set of library functions that allow client programs to pass queries to the PostgreSQL backend server and to receive the results of these queries.
    http://www.postgresql.org/docs/curre...tic/libpq.html

    On what system are you trying this?
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  3. #3
    Junior Member
    Join Date
    Feb 2006
    Posts
    26
    im trying that on debian 3.1

  4. #4
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Then why don't you use APT to add the package?
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  5. #5
    Junior Member
    Join Date
    Feb 2006
    Posts
    26
    i did it befor 2 hours

    but it doing noting

Posting Permissions

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