Is lgpio a 64 bit only library?
I ask because I successfully used it on a Pi5 using 64 bit bookworm, but I tried the same program on a Pi 4 32 bit bookworm:
make
said:
make: nothing to be done for 'all'
which is not necessarily a problem
but then the compile:
g++ gpiolum.7.cpp -l lgpio -o gpiolum.7
said:
/usr/loca/lib/liblgpio.so: file not recognised: file format not recognised
liblgpio.so is in fact a pointer to liblgpio.so.1
After dinner I'll try replacing the pointer with the actual file
I ask because I successfully used it on a Pi5 using 64 bit bookworm, but I tried the same program on a Pi 4 32 bit bookworm:
make
said:
make: nothing to be done for 'all'
which is not necessarily a problem
but then the compile:
g++ gpiolum.7.cpp -l lgpio -o gpiolum.7
said:
/usr/loca/lib/liblgpio.so: file not recognised: file format not recognised
liblgpio.so is in fact a pointer to liblgpio.so.1
After dinner I'll try replacing the pointer with the actual file
Statistics: Posted by Peter Cyriax — Wed Mar 13, 2024 5:35 pm