Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-09-2006, 07:11 PM   #1
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Hydra 5.3 build error


I'm trying to build Hydra from source on Ubuntu 6.06. The compilation went well, except for a few errors (one of which is that it could not find openssl):
max@maxlap:~/Desktop/hydra-5.3-src$ ./configure

Starting hydra auto configuration ...

Checking for openssl (libssl/ssl.h) ...
... NOT found, SSL support disabled
Get it from
Checking for Postgres (libpq) ...
... found
Checking for SVN (ibsvn_client-1 ...
... NOT found, module svn disabled
Checking for SAP/R3 (librfc/saprfc.h) ...
... NOT found, module sapr3 disabled
Get it from
Checking for libssh (libssh/libssh.h) ...
... NOT found, module ssh2 disabled
Get it from - use v0.11!

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

Writing ...

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

now type "make"
However, I wasn't so lucky with 'make':
max@maxlap:~/Desktop/hydra-5.3-src$ make
gcc -I. -Wall -O2 -o pw-inspector pw-inspector.c
gcc -I. -Wall -O2 -c hydra-vnc.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-pcnfs.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-rexec.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-nntp.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-socks5.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-telnet.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-cisco.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-http.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-ftp.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-imap.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-pop3.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-smb.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-icq.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-cisco-enable.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-ldap.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-mysql.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-http-proxy.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-smbnt.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-mssql.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-snmp.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-cvs.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-smtpauth.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-sapr3.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-ssh2.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-teamspeak.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-postgres.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-rsh.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-rlogin.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-oracle-listener.c -DLIBPOSTGRES
hydra-oracle-listener.c:10:2: warning: #warning "The Oracle Listener module does not work yet"
hydra-oracle-listener.c: In function ‘start_oracle_listener’:
hydra-oracle-listener.c:42: warning: pointer targets in assignment differ in signedness
hydra-oracle-listener.c:46: warning: pointer targets in passing argument 2 of ‘hydra_send’ differ in signedness
gcc -I. -Wall -O2 -c hydra-svn.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-pcanywhere.c -DLIBPOSTGRES
gcc -I. -Wall -O2 -c hydra-sip.c -DLIBPOSTGRES
hydra-sip.c:4:25: error: openssl/ssl.h: No such file or directory
hydra-sip.c:5:25: error: openssl/err.h: No such file or directory
hydra-sip.c:6:25: error: openssl/md5.h: No such file or directory
hydra-sip.c: In function ‘md5_crypt’:
hydra-sip.c:24: error: ‘MD5_DIGEST_LENGTH’ undeclared (first use in this function)
hydra-sip.c:24: error: (Each undeclared identifier is reported only once
hydra-sip.c:24: error: for each function it appears in.)
hydra-sip.c:26: error: ‘MD5_CTX’ undeclared (first use in this function)
hydra-sip.c:26: error: syntax error before ‘c’
hydra-sip.c:31: warning: implicit declaration of function ‘MD5_Init’
hydra-sip.c:31: error: ‘c’ undeclared (first use in this function)
hydra-sip.c:32: warning: implicit declaration of function ‘MD5_Update’
hydra-sip.c:33: warning: implicit declaration of function ‘MD5_Final’
hydra-sip.c:24: warning: unused variable ‘md5_raw’
hydra-sip.c: In function ‘sip_register’:
hydra-sip.c:60: error: ‘MD5_DIGEST_LENGTH’ undeclared (first use in this function)
hydra-sip.c:61: warning: unused variable ‘resp’
hydra-sip.c:61: warning: unused variable ‘mu’
hydra-sip.c:60: warning: unused variable ‘urp’
make: *** [hydra-sip.o] Error 1
I have openssl installed. Does anyone know what could be wrong? It could be that openssl is not in the directory it is looking in, so I will need to change a part (or several parts) of the script. Please let me know if I have overlooked something, or if the fix is easier than this (like adding the --prefix parameter to ./compile to build it to install in the same directory as openssl, /usr/bin).

Thank you,


Last edited by J_K9; 07-09-2006 at 07:13 PM.
Old 07-09-2006, 11:20 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I actually just compiled and packaged Hydra 5.3 for Slackware yesterday, didn't have any error like you are seeing. Not sure what the cause could be, though knowing Ubuntu, it could be because something is in a non-standard location like you thought.

What do you get back from "locate ssl.h"?
Old 07-10-2006, 05:49 AM   #3
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Aye, Ubuntu is odd for these kinds of things. I might just reinstall Slack and get this over and done with! One of Ubuntu's only advantages over Slack is that it's easier to install the ATi driver on it

locate ssl.h produces:
max@maxlap:~$ locate ssl.h
Hmm.. And yet openssl works:
max@maxlap:~$ openssl
Any ideas? Thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
build error Youri Linux From Scratch 15 11-07-2011 06:27 AM
Hydra Install Issues 09-sparky Linux - Software 4 06-03-2006 10:11 PM
hydra.deb gabsik Linux - Software 1 03-30-2006 04:28 PM
package build error help thushara Linux - General 1 03-31-2005 08:49 AM
Hydra 2.2 deepsix Linux - Security 1 08-29-2003 09:07 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration