Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5122

Troubleshooting • Re: lgpio

$
0
0
/usr/loca/lib/liblgpio.so: file not recognised: file format not recognised
Well, when I see this kind of diagnostic, I type

Code:

file  /usr/loca/lib/liblgpio.so
ex:
file /usr/lib/libstdc++.so.6.0.13
/usr/lib/libstdc++.so.6.0.13: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped

there are two interesting informations:
is the file a shared object (it may be .. a text file, an image: command "file" is very versatile and very useful)
is the file for a 32 bit arm (my boss has 64 bits PC)

Thus, maybe you have a wrong version of libgpiod.so, likely to work on 64 bits but not on 32 bits. You should install libgipod for BOTH systems , not 64 bits only)...

Statistics: Posted by dbrion1 — Wed Mar 13, 2024 6:25 pm



Viewing all articles
Browse latest Browse all 5122

Trending Articles