{"action":"created","issue":{"url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/100","labels_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/100/comments","events_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/100/events","html_url":"https://github.com/jpmens/mosquitto-auth-plug/issues/100","id":112944286,"number":100,"title":"compile problem","user":{"login":"mudasarK","id":15258397,"avatar_url":"https://avatars.githubusercontent.com/u/15258397?v=3","gravatar_id":"","url":"https://api.github.com/users/mudasarK","html_url":"https://github.com/mudasarK","followers_url":"https://api.github.com/users/mudasarK/followers","following_url":"https://api.github.com/users/mudasarK/following{/other_user}","gists_url":"https://api.github.com/users/mudasarK/gists{/gist_id}","starred_url":"https://api.github.com/users/mudasarK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudasarK/subscriptions","organizations_url":"https://api.github.com/users/mudasarK/orgs","repos_url":"https://api.github.com/users/mudasarK/repos","events_url":"https://api.github.com/users/mudasarK/events{/privacy}","received_events_url":"https://api.github.com/users/mudasarK/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-23T03:52:23Z","updated_at":"2015-10-23T06:35:52Z","closed_at":"2015-10-23T05:42:44Z","body":"please help me to compile, I am using ubunutu to make authentication plugin.\r\nhere is my config.mk file\r\n# Select your backends from this list\r\nBACKEND_CDB ?= no\r\nBACKEND_MYSQL ?= yes\r\nBACKEND_SQLITE ?= no\r\nBACKEND_REDIS ?= no\r\nBACKEND_POSTGRES ?= no\r\nBACKEND_LDAP ?= no\r\nBACKEND_HTTP ?= no\r\nBACKEND_MONGO ?= no\r\n\r\n# Specify the path to the Mosquitto sources here\r\nMOSQUITTO_SRC = /home/mudasar/Downloads/mosquitto-1.4.4\r\n\r\n# Specify the path the OpenSSL here\r\nOPENSSLDIR = /usr\r\n\r\n\r\nand when I run the make command this is the log\r\n/home/mudasar/mosquitto-auth-plug# make\r\nSelected backends:          MySQL\r\nUsing mosquitto source dir: /home/mudasar/Downloads/mosquitto-1.4.4\r\nOpenSSL install dir:        /usr\r\n\r\nIf you changed the backend selection, you might need to 'make clean' first\r\n\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o auth-plug.o auth-plug.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o base64.o base64.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o pbkdf2-check.o pbkdf2-check.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o log.o log.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o envs.o envs.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o hash.o hash.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o be-psk.o be-psk.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o backends.o backends.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o cache.o cache.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o be-mysql.o be-mysql.c\r\ncc -I/home/mudasar/Downloads/mosquitto-1.4.4/src/ -I/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -fPIC -Wall -Werror  -DBE_MYSQL  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include  -L/home/mudasar/Downloads/mosquitto-1.4.4/lib/ -lcares -fPIC -shared -o auth-plug.so auth-plug.o base64.o pbkdf2-check.o log.o envs.o hash.o be-psk.o backends.o cache.o be-mysql.o   `mysql_config --libs` -L/usr/lib -lcrypto -lmosquitto\r\n/usr/bin/ld: cannot find -lmosquitto\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [auth-plug.so] Error 1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/comments/150489060","html_url":"https://github.com/jpmens/mosquitto-auth-plug/issues/100#issuecomment-150489060","issue_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/100","id":150489060,"user":{"login":"mudasarK","id":15258397,"avatar_url":"https://avatars.githubusercontent.com/u/15258397?v=3","gravatar_id":"","url":"https://api.github.com/users/mudasarK","html_url":"https://github.com/mudasarK","followers_url":"https://api.github.com/users/mudasarK/followers","following_url":"https://api.github.com/users/mudasarK/following{/other_user}","gists_url":"https://api.github.com/users/mudasarK/gists{/gist_id}","starred_url":"https://api.github.com/users/mudasarK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudasarK/subscriptions","organizations_url":"https://api.github.com/users/mudasarK/orgs","repos_url":"https://api.github.com/users/mudasarK/repos","events_url":"https://api.github.com/users/mudasarK/events{/privacy}","received_events_url":"https://api.github.com/users/mudasarK/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T06:35:52Z","updated_at":"2015-10-23T06:35:52Z","body":"Hello Jpmens,\r\n\r\nsorry to disturb you again, can you please tell me how to resolve this problem ?\r\nI have checked ares libraries are already up to date in my ubunu.\r\n\r\nThank you"}}