Page 1 of 1

RPI3 / Bullseye / libusb-0.1

Posted: Friday 19 May 2023 18:10
by MarsaultP
Hi

For a fresh install, I have a Raspberry Pi 3 B, Bullseye 64b (installed with Imager on a 32GB SD). After loading Domoticz 64 and trying to start, I get this message with the status command:
domoticz.sh[622]: /home/bilou/domoticz/domoticz: error loading shared libraries: libusb-0.1.so.4:
I don't understand .... :)

So the previous installation works fine on the same RPi 3B with Buster 32b and of course on Domoticz 32
(I transferred all the Dzvents scripts as well as the Domoticz.db database to the Bullseye 64 version)

An idea ?

Best regards

Philippe

Re: RPI3 / Bullseye / libusb-0.1

Posted: Friday 19 May 2023 18:33
by Kedi
Excute:

Code: Select all

sudo apt-cache search libusb-
it should show the lib, and then

Code: Select all

sudo apt-cache policy libusb-0.1-4
and see if it is installed, if not install it:

Code: Select all

sudo apt-get install libusb-0.1-4
If it does not work, you might have the wrong domoticz executable.
Do a

Code: Select all

file domoticz
in the domoticz directory and see if you have a 32 or 64 bits domoticz

Re: RPI3 / Bullseye / libusb-0.1

Posted: Friday 19 May 2023 19:14
by MarsaultP
Thanks for your help.

By checking:
- Domoticz is in version 64
- with sudo apt-cache policy libusb-0.1-4 the answer is
libusb-0.1-4:
Installed: 2:0.1.12-32
Candidate: 2:0.1.12-32
Version table:
*** 2:0.1.12-32,500
500 http://deb.debian.org/debian bullseye/main arm64 Packages
100 /var/lib/dpkg/status

stange ...

Re: RPI3 / Bullseye / libusb-0.1

Posted: Friday 19 May 2023 19:41
by Kedi
That is strange, I have exactly the same libusb version on my 64 bits debian.
I suppose you installed Domoticz with, could not harm to do it again.

Code: Select all

sudo bash -c "$(curl -sSfL https://install.domoticz.com)"	

Re: RPI3 / Bullseye / libusb-0.1

Posted: Friday 19 May 2023 20:01
by MarsaultP
Ok, now is working with this "easy install".
In fact, I had install Domoticz by downloading the gz file, following by a tar xvfz .... and this way seems no working well

Thanks for your help, the main goal is ..... to use Domoticz.

I upgrade OS and safety, a botnet share MY cpu ... i don't like this ... :D

Philippe