You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
I agree on that and will review the related instructions.
Actually this info shouldn't have vanished over time, but on the other hand I must also admit that I haven't run into this problem yet...
I know very little about ldconfig but my computer was a fresh install of the OS that never had stlink installed previously. My theory is that since stlink had not been installed previously that the the necessary shared library was not in the cache.
Nightwalker-87
changed the title
[feature] Linux Install from code Documentation improvement
[doc] Linux Install from code Documentation improvement
Aug 26, 2022
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.
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:
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:
#478
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.
The text was updated successfully, but these errors were encountered: