This is a mirror of the original repository over at kernel.org. This github page is for discussions and issue reporting only. PRs can be discussed here but the patches need to go through the linux-gpio mailing list.
We are trying to install libgpiod with its Python bindings on a Beagle Bone Black – a ARMv7 32 bit SBC. The distribution is a Debian Stretch 9.9, Kernel version is 4.14.93-bone-rt-r17.
Installed Python versions are 3.5 and 3.6.
We tried to compile and run the lib for both the system Python (3.5) and in a virtualenv with Python3.6.
Everything looks fine, configuration doesn't report any issue and also building stages. But as soon as we load a Python REPL and import gpiod we get the following exception:
ImportError: /usr/local/lib/python3.5/dist-packages/gpiod.so: unexpected reloc type 0x03
Anyone gets the same problem? Do you have any clue why it happens? Any suggestion?
Hello!
Thanks for the nice work.
We are trying to install libgpiod with its Python bindings on a Beagle Bone Black – a ARMv7 32 bit SBC. The distribution is a Debian Stretch 9.9, Kernel version is 4.14.93-bone-rt-r17.
Installed Python versions are 3.5 and 3.6.
We tried to compile and run the lib for both the system Python (3.5) and in a virtualenv with Python3.6.
./autogen.sh --enable-tools=yes --prefix=<install path> --enable-bindings-python CFLAGS="-fPIC"
make
make install
ldconfig
Everything looks fine, configuration doesn't report any issue and also building stages. But as soon as we load a Python REPL and
import gpiod
we get the following exception:ImportError: /usr/local/lib/python3.5/dist-packages/gpiod.so: unexpected reloc type 0x03
Anyone gets the same problem? Do you have any clue why it happens? Any suggestion?