{"action":"created","issue":{"url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/36","labels_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/36/comments","events_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/36/events","html_url":"https://github.com/aircrack-ng/aircrack-ng/issues/36","id":91913199,"number":36,"title":"cannot compile with sqlite=true","user":{"login":"ifytbairz","id":7852027,"avatar_url":"https://avatars.githubusercontent.com/u/7852027?v=3","gravatar_id":"","url":"https://api.github.com/users/ifytbairz","html_url":"https://github.com/ifytbairz","followers_url":"https://api.github.com/users/ifytbairz/followers","following_url":"https://api.github.com/users/ifytbairz/following{/other_user}","gists_url":"https://api.github.com/users/ifytbairz/gists{/gist_id}","starred_url":"https://api.github.com/users/ifytbairz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifytbairz/subscriptions","organizations_url":"https://api.github.com/users/ifytbairz/orgs","repos_url":"https://api.github.com/users/ifytbairz/repos","events_url":"https://api.github.com/users/ifytbairz/events{/privacy}","received_events_url":"https://api.github.com/users/ifytbairz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-29T21:23:54Z","updated_at":"2015-07-06T16:24:41Z","closed_at":null,"body":"Hello,\r\n\r\nNot sure if I'm the only one, but I can no longer compile with \"sqlite=true\" flag.\r\n\r\nHere is what I receive when attempting to compile:\r\n\r\nredacted@redacted ~/github/aircrack-ng $ make sqlite=true\r\nmake -C src all\r\nmake[1]: Entering directory `/home/redacted/github/aircrack-ng/src'\r\ngcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3   -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude   -c -o airolib-ng.o airolib-ng.c\r\ngcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -DHAVE_SQLITE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3   -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  airolib-ng.o crypto.o common.o -o airolib-ng -lssl -lcrypto  -DHAVE_REGEXP -L/usr/local/lib -lsqlite3\r\n/usr/bin/ld: /usr/local/lib/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'\r\n//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [airolib-ng] Error 1\r\nmake[1]: Leaving directory `/home/redacted/github/aircrack-ng/src'\r\nmake: *** [all] Error 2\r\nredacted@redacted ~/github/aircrack-ng $ \r\n\r\n\r\nI have installed all the prerequisites listed on the github page, however there isn't any package called \"libsqlite3-devel\" in my repos (linux mint). \"libsqlite3-dev\" works however. \r\n\r\nthis used to compile no problem in the past, just noticed this happening today. "},"comment":{"url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/comments/118916579","html_url":"https://github.com/aircrack-ng/aircrack-ng/issues/36#issuecomment-118916579","issue_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/36","id":118916579,"user":{"login":"ifytbairz","id":7852027,"avatar_url":"https://avatars.githubusercontent.com/u/7852027?v=3","gravatar_id":"","url":"https://api.github.com/users/ifytbairz","html_url":"https://github.com/ifytbairz","followers_url":"https://api.github.com/users/ifytbairz/followers","following_url":"https://api.github.com/users/ifytbairz/following{/other_user}","gists_url":"https://api.github.com/users/ifytbairz/gists{/gist_id}","starred_url":"https://api.github.com/users/ifytbairz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifytbairz/subscriptions","organizations_url":"https://api.github.com/users/ifytbairz/orgs","repos_url":"https://api.github.com/users/ifytbairz/repos","events_url":"https://api.github.com/users/ifytbairz/events{/privacy}","received_events_url":"https://api.github.com/users/ifytbairz/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T16:24:41Z","updated_at":"2015-07-06T16:24:41Z","body":"fresh install of LM17.2 in virtual box\r\ncloned the current .git \r\ninstalled:\r\nopenssl 1.0.2c\r\nlibsqlite3-dev\r\nlibnl1\r\nlibnl-dev\r\n\r\ngcc --version\r\ngcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4\r\n\r\nldd --version\r\nldd (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19\r\n\r\n\r\n\r\nmake\r\n\r\nmake -C src all\r\nmake[1]: Entering directory `/home/redacted/aircrack-ng/src'\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\ngcc -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  \r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':\r\ndso_dlfcn.c:(.text+0x11): undefined reference to `dlopen'\r\ndso_dlfcn.c:(.text+0x24): undefined reference to `dlsym'\r\ndso_dlfcn.c:(.text+0x2f): undefined reference to `dlclose'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':\r\ndso_dlfcn.c:(.text+0x334): undefined reference to `dlsym'\r\ndso_dlfcn.c:(.text+0x3db): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':\r\ndso_dlfcn.c:(.text+0x454): undefined reference to `dlsym'\r\ndso_dlfcn.c:(.text+0x4fb): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':\r\ndso_dlfcn.c:(.text+0x569): undefined reference to `dlopen'\r\ndso_dlfcn.c:(.text+0x5cb): undefined reference to `dlclose'\r\ndso_dlfcn.c:(.text+0x603): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':\r\ndso_dlfcn.c:(.text+0x68f): undefined reference to `dladdr'\r\ndso_dlfcn.c:(.text+0x6f1): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':\r\ndso_dlfcn.c:(.text+0x742): undefined reference to `dlclose'\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [aircrack-ng] Error 1\r\nmake[1]: Leaving directory `/home/redacted/aircrack-ng/src'\r\nmake: *** [all] Error 2\r\n\r\nthen ran sudo ldconfig\r\n*reboot*\r\nmake clean\r\n\r\nrm -rf cov-int\r\nmake -C src clean\r\nmake[1]: Entering directory `/home/redacted/aircrack-ng/src'\r\nmake -C osdep clean\r\nmake[2]: Entering directory `/home/redacted/aircrack-ng/src/osdep'\r\nmake -C radiotap clean\r\nmake[3]: Entering directory `/home/redacted/aircrack-ng/src/osdep/radiotap'\r\nrm -f *.o\r\nmake[3]: Leaving directory `/home/redacted/aircrack-ng/src/osdep/radiotap'\r\nrm -f libosdep.a  *.o .os.*\r\nmake[2]: Leaving directory `/home/redacted/aircrack-ng/src/osdep'\r\nrm -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\r\nmake[1]: Leaving directory `/home/redacted/aircrack-ng/src'\r\nmake -C test/cryptounittest clean\r\nmake[1]: Entering directory `/home/redacted/aircrack-ng/test/cryptounittest'\r\nrm -f test-encrypt-wep test-calc-pmk test-calc-mic test-calc-ptk test-encrypt-ccmp test-decrypt-ccmp test-calc-4pmk\r\nrm -f vgcore*\r\nmake[1]: Leaving directory `/home/redacted/aircrack-ng/test/cryptounittest'\r\n\r\n\r\nmake\r\n\r\nmake -C src all\r\nmake[1]: Entering directory `/home/redacted/aircrack-ng/src'\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\ngcc -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  \r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':\r\ndso_dlfcn.c:(.text+0x11): undefined reference to `dlopen'\r\ndso_dlfcn.c:(.text+0x24): undefined reference to `dlsym'\r\ndso_dlfcn.c:(.text+0x2f): undefined reference to `dlclose'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':\r\ndso_dlfcn.c:(.text+0x334): undefined reference to `dlsym'\r\ndso_dlfcn.c:(.text+0x3db): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':\r\ndso_dlfcn.c:(.text+0x454): undefined reference to `dlsym'\r\ndso_dlfcn.c:(.text+0x4fb): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':\r\ndso_dlfcn.c:(.text+0x569): undefined reference to `dlopen'\r\ndso_dlfcn.c:(.text+0x5cb): undefined reference to `dlclose'\r\ndso_dlfcn.c:(.text+0x603): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':\r\ndso_dlfcn.c:(.text+0x68f): undefined reference to `dladdr'\r\ndso_dlfcn.c:(.text+0x6f1): undefined reference to `dlerror'\r\n//usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':\r\ndso_dlfcn.c:(.text+0x742): undefined reference to `dlclose'\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [aircrack-ng] Error 1\r\nmake[1]: Leaving directory `/home/redacted/aircrack-ng/src'\r\nmake: *** [all] Error 2\r\n\r\n\r\nthis 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 :/\r\n\r\nhope this helps. \r\n\r\nis it my libcrypto?\r\nshould this path be \r\n//usr/local/lib/libcrypto.a\r\ninstead of\r\n/usr/local/lib/libcrypto.a\r\n?\r\n"}}