Code: Select all
export LD_LIBRARY_PATH=/opt/z-way-server/libs
in /etc/init.d/z-way-server fixed it. Any ideas?
Code: Select all
export LD_LIBRARY_PATH=/opt/z-way-server/libs
Code: Select all
Z-Way version v3.2.0 from 2021-08-26 02:39:38 +0300 (build a4e3216b24b3d47b11f9a0cfc31252079ea32cbd)
Looking for modules in ./modules
Module modinstaller.so loaded
Failed to load module modmqtt.so: /usr/lib/arm-linux-gnueabihf/libmosquitto.so.1: version `MOSQ_1.6' not found (required by ./modules/modmqtt.so)
Illegal instruction
Code: Select all
case "$1" in
Code: Select all
export LD_LIBRARY_PATH="$DAEMON_PATH/libs:$LD_LIBRARY_PATH"
Code: Select all
export LD_LIBRARY_PATH="$DAEMON_PATH/libs:$LD_LIBRARY_PATH"
Code: Select all
wget -O - http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key | apt-key add -
wget -O /etc/apt/sources.list.d/mosquitto-buster.list http://repo.mosquitto.org/debian/mosquitto-buster.list
apt-get update && apt-get upgrade
This is not an issue in 3.2.3. Maybe during the various system upgrades some other dependency got broken. Try using aptitude to check the dependency integrity, in my experience this is a easiest way to sort these things out (once you have gotten the hang of using its UI, that is.)hedged wrote: ↑26 Sep 2022 12:08Same bug still on 3.2.3. I upgraded Debian from Stretch to Buster first and then upgraded z-way-server from 3.1.1 to 3.2.3. And it simply didn't start with the last line in a log file being:
Spent a day to find out that I need to manually add LD_LIBRARY_PATH to /etc/init.d/z-way-server. Started fine after that.