How to Fix Codelite error while loading shared libraries

Hello,

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.

/usr/lib64/codelite

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 https://bugzilla.opensuse.org, 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.

TSU

Hi,
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:

  1. https://bugzilla.novell.com/show_bug.cgi?id=848791
  2. https://forums.opensuse.org/showthread.php/508342-CodeLIte-8-OpenSUSE-13-2-KDE-x64
    .

Thanks for the procedure,

Bye
hawake