Linux - SoftwareThis 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.
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.
I get these errors in unity linux trying to make aircrack-ng.
[me@localhost aircrack-ng-1.2-beta1]$ make
make -C src all
make[1]: Entering directory `/home/me/Downloads/aircrack-ng-1.2-beta1/src'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:50:26: error: openssl/hmac.h: No such file or directory
crypto.h:51:25: error: openssl/sha.h: No such file or directory
crypto.h:53:25: error: openssl/rc4.h: No such file or directory
crypto.h:54:25: error: openssl/aes.h: No such file or directory
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function 'calc_4pmk':
sha1-sse2.h:168: warning: implicit declaration of function 'HMAC'
sha1-sse2.h:168: warning: implicit declaration of function 'EVP_sha1'
aircrack-ng.c: In function 'crack_wpa_thread':
aircrack-ng.c:3992: warning: implicit declaration of function 'EVP_md5'
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/me/Downloads/aircrack-ng-1.2-beta1/src'
make: *** [all] Error 2
error: openssl/hmac.h: No such file or directory . . . etc
You are missing several include files. They could be somewhere, but the compiler can't find them. If you have them, put a symlink to them in /usr/include. If not, get them.
the package manager that i have dosent find openssl-dev or libssl-dev.So I think that I am forced to only try to install the openssl tarball and manually build with
./configure
make
make test
make install
I try topost the errors that terminal show of the linking process but the forum software dosent let me, it says somethine about me having tomany images, and only 6 images are permitted.Do you have any idea what I could do to get this working?, I installed openssl that latest version, because I tried to install a earlier version but I would still get those errors(linker).I get errors now with the newer openssl version installed to.Could it be I didnt use the proper commands to ./configure it or something?... Iused to be a windows boy but I switched and am a noob to linux, please excuse my in expierience.
Check whether that package is installed. Install it if it is not. Install the -dev version to have the files normally used when compiling things. Rinse and repeat for all the gotchas you run into. Some packages have a ./doc/ and other places that list the dependencies you will need. Or at least most of them. So be sure to get all the -dev versions of those if you're going to compile things. While still keeping most of your distro on the package management system.
@funky445o: Most of us use distributions. When you want a package, get it from your distribution's website. Depending on your linux flavour, use yum, apt-get, or whatever it is that installs stuff. The distribution's archives are all mirrored around the world - ftp.heanet.ie for instance has piles on it, as do other sites. If you grab the tarball & compile, you have to have all the dependencies installed - the libs, the includes, everything it needs, correct versions too.
Without apt-file there's always google. You're probably not the only one with the issue. Although finding the solution is sometimes the needle in a haystack of a thousand other unsolved issues just like yours. But to get you started:
In debian
openssl/crypto.h is in package libssl-dev
There's also egrep to find words recursively in a directory tree. Which can be used to find the affected source element and get acquainted with the context of the issue. Sometimes you can bypass compile errors by passing a few --disable-??? or --without-??? parameters to configure. There's a reason it's a beta driver, not an alpha one. As you're probably finding out. In the old days anything with a version number < 1 was technically a beta version. But there were/are a lot of good and working betas out there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.