cancel
Showing results for 
Search instead for 
Did you mean: 

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

Ykost.1
Associate

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

8 REPLIES 8
Ykost.1
Associate

I solved the problem 🙂 I did a uncomplete installation procedure

Mario Buzetti
Associate

I have the same problem. Can you help me ?

Elias
Associate II

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

amd64 or i386 platform?

Try

sudo apt install libusb-1.0-0

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

amd64

0693W000001ptcuQAA.png

0693W000001ptdOQAQ.png

0693W000001ptdTQAQ.png

Elias
Associate II

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
Associate II

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

video not available anymore Lol