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. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-09-2006, 07:11 PM
|
#1
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Rep:
|
Hydra 5.3 build error
Hi,
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):
Quote:
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 http://www.openssl.org
Checking for Postgres (libpq) ...
... found
Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ...
... NOT found, module svn disabled
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) ...
... NOT found, module ssh2 disabled
Get it from http://0xbadc0de.be/ - use v0.11!
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"
|
However, I wasn't so lucky with 'make':
Quote:
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,
-jk
Last edited by J_K9; 07-09-2006 at 07:13 PM.
|
|
|
07-09-2006, 11:20 PM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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"?
|
|
|
07-10-2006, 05:49 AM
|
#3
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
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:
Quote:
max@maxlap:~$ locate ssl.h
/usr/share/doc/libgnomevfs2-common/html/gnome-vfs-20-gnome-vfs-ssl.html
|
Hmm.. And yet openssl works:
Quote:
max@maxlap:~$ openssl
OpenSSL>
|
Any ideas? Thanks 
|
|
|
All times are GMT -5. The time now is 09:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|