Not locating gtk-layer-shell in Solus
Closed this issue · 3 comments
It is not finding libgtk-layer-shell because it was not installed in /usr because of that when compiling hybridbar you first have to export pkg-config path to gtk-layer-shell's .pc file like this:
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:$PKG_CONFIG_PATH
After that you can run these commands normally (meson build, ninja -C build... )and it should be able to find gtk-layer-shell
It seems that /usr/local/lib64 is not the default path for searching libraries on Solus, so you would have to run it like this:
LD_LIBRARY_PATH=/usr/local/lib64 hybridbar
or if you dont want to use env Variables you have to add /usr/local/lib64 to one of the paths in /etc/ld.so.conf as it is described here. (it shows how to do it on ubuntu and debian only, however same principe applies to Solus really)