Skip to main content
Ykost.1
Associate
May 12, 2020 6:15 AM UTC
Question

Hey :) I am trying to flash my program onto my stm ucontroller but I get a libusb error message. Can you help me please?

I'm using STM32Ide. I installed pypy libusb1 and python3-libusb1 in the software manager of linux mint (I am using linux mint 19.2). I thought I need some libusb to solve the problem but I couldn't solve it. I couldn't find a guide. I want to flash my uController over a micro-usb cable.

here is the total errormessage with some pictures:

/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

0693W000000XFPqQAO.png0693W000000XFPlQAO.jpg0693W000000XFPbQAO.jpg

This topic has been closed for replies.

8 replies

Ykost.1
Ykost.1Author
Associate
May 13, 2020 9:42 AM UTC

I solved the problem :) I did a uncomplete installation procedure

Mario Buzetti
Visitor II
May 14, 2020 10:53 AM UTC

I have the same problem. Can you help me ?

Elias
Visitor II
Jun 2, 2020 8:15 PM UTC

I have the same problem. Can you help me ?

 error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory

??????????????

Thank you

Tesla DeLorean
Guru
Jun 2, 2020 9:13 PM UTC

amd64 or i386 platform?

Try

sudo apt install libusb-1.0-0

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Elias
Visitor II
Jun 2, 2020 9:19 PM UTC

amd64

0693W000001ptcuQAA.png

0693W000001ptdOQAQ.png

0693W000001ptdTQAQ.png

Elias
Visitor II
Jun 2, 2020 9:27 PM UTC

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

Elias
Visitor II
Jun 6, 2020 12:38 AM UTC

Troubleshooting training 8) =)

This problem occurs when installing from the root user

1-Remove stm32cubeIDE

And

2. Install according to the video

https://youtu.be/R5vMW8KKESQ

gazzatav
Associate III
Jan 24, 2023 4:46 PM UTC

video not available anymore Lol