Hello,
I have some trouble installing the release 2.2 of libgpiod (or rather in
linking it).
I want to use it on a RaspberryPi 4 (kernel 6.6.56-RT and 6.12-RT) which
are not provided by Raspberry but taken from https://git.kernel.org,
thus the problem might come from there.
I have taken the 2.2 tarball on
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
when I compile my file it seems ok (just trying with one of the examples
from git : chip-info.c), but when I run the program obtained I have this
error :
./prog: error while loading shared libraries: libgpiod.so.3: cannot open
shared object file: No such file or directory
The path for ./autogen was /usr/local
gpiod.h is in /usr/local/include
libgpiod.so.3 is in /usr/local/lib
My programs are in ~/prog/userspace and the makefile uses -lgpiod.
Am I missing and option or a path to be declared somewhere ?
Thanks,
Mathieu
--