Page 1 of 1

Where can I get libusb-0.1.so.4 ?

Posted: Monday 11 June 2018 13:28
by Calzor Suzay
I have the following issue as below which requires libusb-0.1.so.4
Where can I install this from for a 64bit armhf OS please?

root@Vero4K:/home/osmc/domoticz# systemctl status domoticz.service
* domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
Active: active (exited) since Sun 2018-06-10 19:48:35 BST; 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 3431 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
Process: 3440 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Jun 10 19:48:35 Vero4K systemd[1]: Starting LSB: Home Automation System...
Jun 10 19:48:35 Vero4K domoticz.sh[3440]: /home/osmc/domoticz/domoticz: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
Jun 10 19:48:35 Vero4K systemd[1]: Started LSB: Home Automation System.

Re: Where can I get libusb-0.1.so.4 ?

Posted: Monday 11 June 2018 13:36
by Calzor Suzay
Would wget from the files on this page work?
wget https://packages.debian.org/stretch/arm ... 4/download

Followed by
sudo dpkg -i libusb-0.1-4_0.1.12-30_armhf.deb

Re: Where can I get libusb-0.1.so.4 ?

Posted: Tuesday 12 June 2018 1:04
by Calzor Suzay
Did a reinstall of OS and Domoticz via easy option.

No longer face it complaining about libusb-0.1.so.4 directly it just won't run.

osmc@Vero4K:~/domoticz$ sudo systemctl status domoticz.service
* domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
Active: active (exited) since Mon 2018-06-11 23:47:11 BST; 6min ago
Docs: man:systemd-sysv-generator(8)
Process: 398 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/domoticz.service

Jun 11 23:47:11 Vero4K systemd[1]: Starting LSB: Home Automation System...
Jun 11 23:47:11 Vero4K domoticz.sh[398]: start-stop-daemon: unable to start /home/osmc/domoticz/domoticz (No such file or directory)
Jun 11 23:47:11 Vero4K systemd[1]: Started LSB: Home Automation System.


if I go to folder /home/osmc/domoticz/domoticz

osmc@Vero4K:~/domoticz$ ls -l
total 12156
drwxr-xr-x 74 osmc osmc 4096 Jul 26 2017 Config
-rw-r--r-- 1 osmc osmc 84449 Jul 30 2017 History.txt
-rw-r--r-- 1 osmc osmc 35147 Apr 7 2017 License.txt
-rwxr-xr-x 1 osmc osmc 12288120 Jul 30 2017 domoticz
-rw-r--r-- 1 osmc osmc 0 Jun 11 23:46 domoticz.db
-rw-r--r-- 1 osmc osmc 4354 Jul 22 2017 domoticz.sh
drwxr-xr-x 8 osmc osmc 4096 Apr 16 2017 scripts
-rw-r--r-- 1 osmc osmc 3414 Apr 7 2017 server_cert.pem
-rwxr-xr-x 1 osmc osmc 583 Apr 7 2017 updatebeta
-rwxr-xr-x 1 osmc osmc 600 Apr 7 2017 updaterelease
drwxr-xr-x 13 osmc osmc 4096 Jul 30 2017 www

If I try and run
osmc@Vero4K:~/domoticz$ ./domoticz
-bash: ./domoticz: No such file or directory

If I try
osmc@Vero4K:~/domoticz$ ldd ./domoticz
not a dynamic executable

Help...

Re: Where can I get libusb-0.1.so.4 ?

Posted: Tuesday 12 June 2018 19:53
by Derik
https://www.howtoinstall.co/en/debian/

Perhaps here you can find your package

Re: Where can I get libusb-0.1.so.4 ?

Posted: Thursday 14 June 2018 14:58
by Calzor Suzay
For anyone else using a Vero4k this is down to the type of Architecture detected by the install script, it was detecting Aarch64 and should of been Arm7l.

In the end I run the easy method install script, then updated to Beta, then downloading the arm7l beta version and extracted this over the top.
It now works without requesting extra libraries.