hcsubser/hybridbar

Not locating gtk-layer-shell in Solus

Closed this issue · 3 comments

Hi!

Thanks for this software!

using meson build is complaining of dependency gtk-layer-shell-0 not found.

image

The installation of gtk-layer seemed to end correctly:

image

  • What am I doing wrong?

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

Thanks!

This works. However I can't run the executable later on:

image

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)