Mosquitto Broker

Installation auf Beagleboard XM (Ubuntu 14.04)

Installation der Developer Tools:

sudo apt-get install gcc g++ make

Openssl Libraries:

sudo apt-get install libssl-dev

Ares/UUID:

sudo apt-get install libc-ares-dev uuid-dev

Quellen herunterladen, übersetzen und installieren:

wget http://mosquitto.org/files/source/mosquitto-1.4.7.tar.gz
tar -xvzf mosquitto-1.4.7.tar.gz
cd mosquitto-1.4.7/
make
sudo make install

Error while loading shared libraries

Assuming you have installed the libraries to /usr/local/lib, which is the default, the correct answer is to run /sbin/ldconfig as root/sudo.

On some systems you will need to add /usr/local/lib to the paths that ld caches, e.g.

echo /usr/local/lib > /etc/ld.so.conf.d/local.conf