libusb-1.0.so.0 error
Tofloor
poster avatar
elias1
deepin
2020-06-04 20:57
Author
Edited by elias1 at 2020-6-4 12:57


Full error text:
/app/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.linux64_1.3.0.202002181050/tools/bin/ST-LINK_gdbserver: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory




elat@elat-PC:~$sudo apt install libusb-1.0-0

Reading package lists... Done Building dependency tree
Reading state information... Done libusb-1.0-0 is already the newest version (2:1.0.22-2). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

elat@elat-PC:~$ sudo dpkg --add-architecture i386

elat@elat-PC:~$ sudo apt install libusb-1.0.0:i386

Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'libusb-1.0-0:i386' for regex 'libusb-1.0.0' Note, selecting 'libusb-1.0-0-dev:i386' for regex 'libusb-1.0.0' Note, selecting 'libusb-1.0-0-dbgsym:i386' for regex 'libusb-1.0.0' libusb-1.0-0:i386 is already the newest version (2:1.0.22-2). libusb-1.0-0-dbgsym:i386 is already the newest version (2:1.0.22-2). libusb-1.0-0-dev:i386 is already the newest version (2:1.0.22-2). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reply Favorite View the author
All Replies
elias1
deepin
2020-06-06 16:46
#1
Troubleshooting training
This problem occurs when installing from the root user
1-Remove stm32cubeIDE
And
2. Install according to the video
https://youtu.be/R5vMW8KKESQ
Reply View the author