/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.
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 Like 0 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
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.