Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

st-flash: error while loading shared libraries: libstlink-shared.so.1: #1019

Closed
sunqi1993 opened this issue Aug 18, 2017 · 1 comment
Closed

Comments

@sunqi1993
Copy link

$ platformio run --target upload
[Sat Aug 19 00:07:55 2017] Processing stm32f103zet6 (monitor_baud: 115200; platform: ststm32; upload_protocol: stlink; board: stm32f103zet6; framework: stm32cube)
------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Warning! Cannot find a linker script for the required board! Firmware will be linked with a default linker script!
Collected 0 compatible libraries
Looking for dependencies...
No dependencies
Uploading .pioenvs/stm32f103zet6/firmware.bin
st-flash: error while loading shared libraries: libstlink-shared.so.1: cannot open shared object file: No such file or directory
*** [upload] Error 127

but in the /home/sunqi/.platformio/packages/tool-stlink/lib dir, i can find libstlink-shared.so.1

@ivankravets
Copy link
Member

Duplicate of platformio/platform-ststm32#58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants