Skip to main content
Ykost.1
Associate
May 12, 2020
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?

  • May 12, 2020
  • 5 replies
  • 5490 views

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.

5 replies

Ykost.1
Ykost.1Author
Associate
May 13, 2020

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

Mario Buzetti
Visitor II
May 14, 2020

I have the same problem. Can you help me ?

Elias
Visitor II
June 2, 2020

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
June 2, 2020

amd64 or i386 platform?

Try

sudo apt install libusb-1.0-0

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Elias
Visitor II
June 2, 2020

amd64

0693W000001ptcuQAA.png

0693W000001ptdOQAQ.png

0693W000001ptdTQAQ.png

Elias
Visitor II
June 2, 2020

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
June 6, 2020

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
January 24, 2023

video not available anymore Lol