cheesecakeufo / komorebi

A beautiful and customizable wallpapers manager for Linux
GNU General Public License v3.0
3.41k stars 239 forks source link

Won't Open in Ubuntu 17.10 #73

Open prods opened 7 years ago

prods commented 7 years ago

Komorebi main app tries to start but silently crashes when opening it on Ubuntu 17.10 x64 (Gnome). Below us the error I found in the logs. It seems to be a dependency issue with the version of libgtop.

I installed it from the deb package.

Error: /System/Applications/komorebi: error while loading shared libraries: libgtop-2.0.so.10: cannot open shared object file: No such file or directory

Version I have: libgtop-2.0-11 is already the newest version (2.38.0-1)

V3XATI0N commented 7 years ago

I don't have Ubuntu 17.10, but I've worked around similar issues like this before by creating a symlink with the name of the library the program expects pointing to the version you have. For example:

sudo ln -s /usr/lib/x86_64-linux-gnu/libgtop-2.0.so.11 /usr/lib/x86_64-linux-gnu/libgtop-2.0.so.10

Not sure it'll work in this case but there's a decent chance it will. Not a true "fix" but might get you up and running in the meantime.

jason4974 commented 7 years ago

@V3XATI0N just wanted to confirm that this fixed the issue for me on Ubuntu 17.10--thanks!

jetBlack-333 commented 7 years ago

@V3XATI0N Thanks, fixed on Ubuntu 17.10 But please tell me why this has to be the error?

stuaxo commented 7 years ago

Confirming this problem and the workaround.

I guess this is something to do with the way this is linked ?

V3XATI0N commented 7 years ago

It's because the OS has a newer version of the library installed than the program expects to find. Usually you can create a symlink with the name the program is looking for which points back to the newer version. Unless major changes have been made to the library in the newer version it usually works.

edwardally commented 6 years ago

it doesn't work for me.. still the same error msg.

Archifact commented 6 years ago

Just wanted to thank @V3XATI0N for the workaround. I had the same problem in Manjaro while synchronizing the databases in Octopi:

/usr/bin/gksudo: error while loading shared libraries: libgtop-2.0.so.10: cannot open shared object file: No such file or directory

After implementing the workaround, the problem was blown away. Thanks again!