Comments (17)
On a side note, I renamed sqlite3 lib in the installation file.
Anyway, I tried installing it on a fresh Mint 17.2 with just 'make sqlite=true' and it worked flawlessly.
What version of Mint (and is it 64 or 32bit), gcc and glibc are you using?
from aircrack-ng-archive.
thank you for your reply.
i'm using linux mint 17.1 64bit
gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
i'm not sure how to check glibc version.
google shows me to run
ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19
not sure if that's what you're looking for.
from aircrack-ng-archive.
Also tried a fresh 17.1, no problem whatsoever.
from aircrack-ng-archive.
that's really strange.
i just freshly installed 17.2 and i'm still getting the error.
i've installed the follow to try and resolve:
openssl 1.0.2c
sqlite3
libnl1
libnl-dev
libsqlite3-dev
still get:
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto -L/usr/local/lib -lsqlite3
/usr/bin/ld: /usr/local/lib/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [aircrack-ng] Error 1
make[1]: Leaving directory `/home/redacted/gitClone/aircrack-ng/src'
make: *** [all] Error 2
from aircrack-ng-archive.
I have absolutely no idea what's wrong. Last thing I can think of (but I'm really not sure it's gonna help), have you tried running ldconfig and/or rebooting then make clean and recompiling?
from aircrack-ng-archive.
fresh install of LM17.2 in virtual box
cloned the current .git
installed:
openssl 1.0.2c
libsqlite3-dev
libnl1
libnl-dev
gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19
make
make -C src all
make[1]: Entering directory /home/redacted/aircrack-ng/src' gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ng.o aircrack-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o crypto.o crypto.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o common.o common.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o uniqueiv.o uniqueiv.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_globallookup':
dso_dlfcn.c:(.text+0x11): undefined reference to dlopen' dso_dlfcn.c:(.text+0x24): undefined reference to
dlsym'
dso_dlfcn.c:(.text+0x2f): undefined reference to dlclose' //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_bind_func':
dso_dlfcn.c:(.text+0x334): undefined reference to dlsym' dso_dlfcn.c:(.text+0x3db): undefined reference to
dlerror'
//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_bind_var': dso_dlfcn.c:(.text+0x454): undefined reference to
dlsym'
dso_dlfcn.c:(.text+0x4fb): undefined reference to dlerror' //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_load':
dso_dlfcn.c:(.text+0x569): undefined reference to dlopen' dso_dlfcn.c:(.text+0x5cb): undefined reference to
dlclose'
dso_dlfcn.c:(.text+0x603): undefined reference to dlerror' //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x68f): undefined reference to dladdr' dso_dlfcn.c:(.text+0x6f1): undefined reference to
dlerror'
//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_unload': dso_dlfcn.c:(.text+0x742): undefined reference to
dlclose'
collect2: error: ld returned 1 exit status
make[1]: *** [aircrack-ng] Error 1
make[1]: Leaving directory `/home/redacted/aircrack-ng/src'
make: *** [all] Error 2
then ran sudo ldconfig
reboot
make clean
rm -rf cov-int
make -C src clean
make[1]: Entering directory /home/redacted/aircrack-ng/src' make -C osdep clean make[2]: Entering directory
/home/redacted/aircrack-ng/src/osdep'
make -C radiotap clean
make[3]: Entering directory /home/redacted/aircrack-ng/src/osdep/radiotap' rm -f *.o make[3]: Leaving directory
/home/redacted/aircrack-ng/src/osdep/radiotap'
rm -f libosdep.a .o .os.
make[2]: Leaving directory /home/redacted/aircrack-ng/src/osdep' rm -f aireplay-ng airodump-ng airserv-ng airtun-ng airbase-ng aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs-ng airdecloak-ng wpaclean aircrack-ng-opt-prof_gen aircrack-ng-opt aircrack-ng-opt-prof prof/* airolib-ng *.o wesside-ng tkiptun-ng easside-ng buddy-ng besside-ng a.out make[1]: Leaving directory
/home/redacted/aircrack-ng/src'
make -C test/cryptounittest clean
make[1]: Entering directory /home/redacted/aircrack-ng/test/cryptounittest' rm -f test-encrypt-wep test-calc-pmk test-calc-mic test-calc-ptk test-encrypt-ccmp test-decrypt-ccmp test-calc-4pmk rm -f vgcore* make[1]: Leaving directory
/home/redacted/aircrack-ng/test/cryptounittest'
make
make -C src all
make[1]: Entering directory /home/redacted/aircrack-ng/src' gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ng.o aircrack-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o crypto.o crypto.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o common.o common.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o uniqueiv.o uniqueiv.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_globallookup':
dso_dlfcn.c:(.text+0x11): undefined reference to dlopen' dso_dlfcn.c:(.text+0x24): undefined reference to
dlsym'
dso_dlfcn.c:(.text+0x2f): undefined reference to dlclose' //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_bind_func':
dso_dlfcn.c:(.text+0x334): undefined reference to dlsym' dso_dlfcn.c:(.text+0x3db): undefined reference to
dlerror'
//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_bind_var': dso_dlfcn.c:(.text+0x454): undefined reference to
dlsym'
dso_dlfcn.c:(.text+0x4fb): undefined reference to dlerror' //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_load':
dso_dlfcn.c:(.text+0x569): undefined reference to dlopen' dso_dlfcn.c:(.text+0x5cb): undefined reference to
dlclose'
dso_dlfcn.c:(.text+0x603): undefined reference to dlerror' //usr/local/lib/libcrypto.a(dso_dlfcn.o): In function
dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x68f): undefined reference to dladdr' dso_dlfcn.c:(.text+0x6f1): undefined reference to
dlerror'
//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_unload': dso_dlfcn.c:(.text+0x742): undefined reference to
dlclose'
collect2: error: ld returned 1 exit status
make[1]: *** [aircrack-ng] Error 1
make[1]: Leaving directory `/home/redacted/aircrack-ng/src'
make: *** [all] Error 2
this is all from a fresh LM17 install. what are you installing on your fresh install because i'm clearly missing it. i'm trying to copy you and install the dependencies that you list on github, in the README and in INSTALLING. still get these failures :/
hope this helps.
is it my libcrypto?
should this path be
//usr/local/lib/libcrypto.a
instead of
/usr/local/lib/libcrypto.a
?
from aircrack-ng-archive.
if you only installed things from the package manager you shouldn't have ANYTHING in /usr/local/ at all
It looks to me like you have a bad install of whatever installs /usr/local/lib/libcrypto.a which is breaking the aircrack-ng install.
from aircrack-ng-archive.
Zero,
Thank you for the comment. I've only installed packages from the package manager on this install.
What package can I install to ensure that I'm getting libcrypto from the package manager?
I'm thinking libcrypto++9 will suffice?
update:
i install the following packages:
libssl-dev
libssl-doc
libcrypto++-dev
libcrypto++-utils
'make' now works!
however my initial issue still remain,
'make sqlite=true'
make -C src all
make[1]: Entering directory /home/redacted/aircrack-ng/src' gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ng.o aircrack-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o crypto.o crypto.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o common.o common.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o uniqueiv.o uniqueiv.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto -L/usr/local/lib -lsqlite3 /usr/bin/ld: /usr/local/lib/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [aircrack-ng] Error 1 make[1]: Leaving directory
/home/redacted/aircrack-ng/src'
make: *** [all] Error 2
from aircrack-ng-archive.
If you have never installed anything from outside the package manager, then I would suggest testing if locally (non-package manager) installed things are the issue. Try this: "mv /usr/local /usr/broken"
that should move anything locally installed out of the way and hopefully permit things to work properly.
from aircrack-ng-archive.
The only thing i installed outside the package manager was openssl 1.0.2c, everything else has been through APT.
from aircrack-ng-archive.
yes, and it appears that your openssl installation is bad, that is the file that is tossing a bunch of errors. This is not an aircrack-ng bug.
from aircrack-ng-archive.
i've updated one of my posts and 'make' works just fine now, even with openssl installed, unless libssl-dev overwrote that.
even if libssl-dev overwrote my manual installation of openssl, and 'make' now works properly, why does 'make sqlite=true' then fail? shouldn't it work just as well?
from aircrack-ng-archive.
you installed a broken openssl locally. This is not an aircrack-ng bug.
from aircrack-ng-archive.
HEY!
please take this a little more seriously. how can you justify claiming that my openssl is broken when 'make' works but 'make sqlite=true' does not? that doesn't make any sense. they both invoke the same libcrypto file....
from aircrack-ng-archive.
Your error clearly shows your locally installed copy of openssl is failing miserably, perhaps it is you who is not taking the problem seriously? Stop installing random libs and breaking your distro.
from aircrack-ng-archive.
bro, with openssl installed and working, 'make' works as intended. 'make sqlite=true' does not... how is my installation of libcrypto the problem when the same libcrypto file that works for 'make' doesn't work for 'make sqlite=true' ?
not to mention that this problem was happening BEFORE I installed openssl anyways, but nevermind that, right?
oh well. i'll just use pyrit instead of airolib-ng. just wanted this to work out but you don't seem to know how to help. it's just weird that Mister-X can compile from a fresh install but I can't even though I only install the libs that the project is asking me to install. it's only after compiling the project fails that I start to install other libs.
Stop installing random libs and breaking your distro
Installing random libs is actually what fixed 'make' anyways, thanks.
please add libssl-dev, libcrypto++-dev, and libcrypto++-utils as the dependencies. They solved the issue with 'make' not working, but not with 'make sqlite=true'.
thanks anyways
from aircrack-ng-archive.
libcrypto++-dev, and libcrypto++-utils are not necessary. I just installed what was required by the INSTALLING file and that was good enough.
from aircrack-ng-archive.
Related Issues (20)
- Mutiple targets support
- Strange interface name after installing aircrack on ubuntu HOT 1
- Is it compatible with the NetGear A6200 WiFi adapter? HOT 2
- WPA Handshake Capture Notice for out-of-scope ESSIDs which are not written to capture file
- Predicting, Decrypting, and Abusing WPA2/802.11 Group Keys
- DUP icmp packets Airbase-ng 1.2 rc4 HOT 3
- airmon-ng in Mac OS HOT 1
- cross compilation broken beyond repair HOT 6
- AirDrop-ng: Unable to get driver HOT 1
- aircrack-ng compilation error: undefined reference 'cpuinfo' HOT 5
- airbase-ng not working HOT 2
- dcrack syntax error on line 202 HOT 1
- Can't Get My Experimental PC to Connect to the AP using airebase-ng HOT 1
- AirMon? Where are you? HOT 3
- airmon assumes original mac cant change HOT 2
- results of "uptime" and "wps" and other parameters are not saved in file. HOT 4
- Conflict in Airodump-ng when we have multiple Monitors from a wlan HOT 1
- Same value(s) in netxml file for client's <snrinfo> HOT 1
- Airodump-ng daemon mode
- Not Compiling (Compile Error) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aircrack-ng-archive.