How to Fix Codelite error while loading shared libraries


After installing Codelite it wouldn’t run. When ran from the menu it just flashed on the screen and disappeared. It gave the following error when ran from a konsole.

# codelite
codelite: error while loading shared libraries: cannot open shared object file: No such file or directory

Make a text file in /etc/ and name it codelite.conf. Put the following path to the libraries in it.


Then run

sudo ldconfig

It should be able to find the libraries now and it seems to be working.

The more usual solution is to create a symlink in the expected location to the files in the actual location.

You may also submit a bug to, then it will be assigned to someone to evaluate whether the symlink should be incorporated into future builds so people won’t encounter the issue.


I have found the same problem in openSUSE Leap 15.0. Following the procedure you described let me fix this issue.

I leave here also two links hoping they could be useful for debugging purposes:


Thanks for the procedure,