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: libplugin.so: cannot open shared object file: No such file or directory

Make a text file in /etc/ld.so.conf.d/ 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.