Closed chrysa95 closed 5 years ago
I am following this tutorial http://www.yasith.me/2016/04/securing-mqtt-connection-using.html
and when im trying to build mosquitto-auth-plugin by executing the following in command:sudo make
I got the following error:
make[1]: Leaving directory '/home/user/mqtt/mosquitto-auth-plug/contrib/tinycdb-0.78' Virtual-Machine:~/mqtt/mosquitto-auth-plug$ sudo make Selected backends: HTTP Using mosquitto source dir: /home/user/mqtt/mosquitto OpenSSL install dir: /usr/bin
/usr/bin/ld: cannot find -lmosquitto collect2: error: ld returned 1 exit status Makefile:160: recipe for target 'auth-plug.so' failed make: *** [auth-plug.so] Error 1
I try make clean and then again sudo make but the error remains.
I am following this tutorial http://www.yasith.me/2016/04/securing-mqtt-connection-using.html
and when im trying to build mosquitto-auth-plugin by executing the following in command:sudo make
I got the following error:
make[1]: Leaving directory '/home/user/mqtt/mosquitto-auth-plug/contrib/tinycdb-0.78' Virtual-Machine:~/mqtt/mosquitto-auth-plug$ sudo make Selected backends: HTTP Using mosquitto source dir: /home/user/mqtt/mosquitto OpenSSL install dir: /usr/bin
/usr/bin/ld: cannot find -lmosquitto collect2: error: ld returned 1 exit status Makefile:160: recipe for target 'auth-plug.so' failed make: *** [auth-plug.so] Error 1
I try make clean and then again sudo make but the error remains.