Skip to content

Instantly share code, notes, and snippets.

@AlbertoCasasOrtiz
Created September 6, 2019 16:18
Show Gist options
  • Save AlbertoCasasOrtiz/b051736b95e561949b10785071ac92c2 to your computer and use it in GitHub Desktop.
Save AlbertoCasasOrtiz/b051736b95e561949b10785071ac92c2 to your computer and use it in GitHub Desktop.
Fix error while loading shared libraries in CLion
Go to: Run -> Edit Configurations -> (select your application) -> Environment variables
Add the following environment variable:
LD_LIBRARY_PATH=/usr/local/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment