linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libgpiod 2.2 installation on RaspberryPi 4
@ 2024-10-30 20:59 Le Chaudron Nautique
  2024-10-31  2:08 ` Kent Gibson
  0 siblings, 1 reply; 5+ messages in thread
From: Le Chaudron Nautique @ 2024-10-30 20:59 UTC (permalink / raw)
  To: linux-gpio

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

-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-05  1:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 20:59 libgpiod 2.2 installation on RaspberryPi 4 Le Chaudron Nautique
2024-10-31  2:08 ` Kent Gibson
2024-10-31 14:17   ` Le Chaudron Nautique
2024-11-01  5:24     ` Kent Gibson
     [not found]       ` <df44ef64-0534-4a18-8024-ba0d56fa16fb@chaudron-nautique.fr>
2024-11-05  1:07         ` Kent Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).