altdesktop / i3ipc-glib

A C interface library to i3wm
GNU General Public License v3.0
104 stars 18 forks source link

compiled example will not run #35

Open OscarSanner opened 4 years ago

OscarSanner commented 4 years ago

Hi. I installed the library and compiled the example. When the resulting executable is run, it yields the message:

error while loading shared libraries: libi3ipc-glib-1.0.so.0: cannot open shared object file: No such file or directory

I tried finding the file but it's nowhere on the filesystem. Does it have to be created or did I miss some step in the installation? This is my first attempt at writing c code for linux and that could very well play its part too.

I followed the instructions for installing and tried both the latest version "0.6" and the current master branch.

acrisci commented 4 years ago

I'm redoing the examples now.

Check out the new examples.

Build with meson mesonbuild && ninja -C mesonbuild and the executable will be in the build folder.