-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
- I made serious effort to avoid creating duplicate or nearly similar issue
In order to allow developers to isolate and target your respective issue, please take some time to select the check boxes below and fill out each of the following items appropriate to your specific request.
- Programmer/board type: STLINK /V2
- Operating system an version: Linux Ubuntu 20.04
- stlink tools version and/or git commit hash: v1.7.0 (repo tag)
- stlink commandline tool name: st-info + others
- Target chip (and board, if applicable): STM32F446RE
While following the procedure build from source here: https://github.com/stlink-org/stlink/blob/develop/doc/compiling.md#linux I found the following error:
Commandline output:
jacob@linux:~/repos/stlink$ st-info --version
st-info: error while loading shared libraries: libstlink.so.1: cannot open shared object file: No such file or directory
Expected/description:
v1.7.0
Would it be inappropriate to add a step 4.5 to the Linux build instructions
4.5 sudo ldconfig
I was able to figure this out by searing for my error message in google which lead me to this page:
This isn't this first time I've built from source and probably had this problem before and found the solution the same way. But it would save 10-15 every time I have to build (once a year or so) if this was documented right in the install instructions.