Open niaz925 opened 4 years ago
Hi Niaz,
I have the same issue, did you find any solutions?
thanks
Same issue here. Would love to use this library to allow my shiny apps to control other devices.
My system: Debian 10, R 3.5.2
My error message: Error: package or namespace load failed for ‘mqtt’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/local/lib/R/site-library/mqtt/libs/mqtt.so': /usr/local/lib/R/site-library/mqtt/libs/mqtt.so: undefined symbol: _ZTIN6mosqpp11mosquittoppE
Edit: I've found a workaround by leveraging reticulate::source_python() and a python script that handles all the mqtt messaging. Not ideal but thought it might be worth sharing.
Ok, i have also found a solution which is to downgrade mosquitto to mosquitto 1.4.15
victor2vy, could you explain the process to install the downgrade of mosquitto 1.4.15? , please, where do I find the version?, thanks in advance
@damenta You have to uninstall mosquitto and then download the 1.4.15 i think this link should do the job : https://launchpad.net/ubuntu/+source/mosquitto/1.4.15-1 I hope this will help you
Hi,
I have followed the installation instructions on ubuntu 18.04 64-bit using R 3.6, all the dependencies have been installed but I am still getting this error:
Error: package or namespace load failed for ‘mqtt’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/niaz/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-mqtt/00new/mqtt/libs/mqtt.so': /home/niaz/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-mqtt/00new/mqtt/libs/mqtt.so: undefined symbol: _ZTIN6mosqpp11mosquittoppE
Any idea why I am getting this error. cheers