I’m aware that Jetson come with a python library called Jetson‑IO for working with the GPIO and under the hood, it uses the GPIO sysfs interface which is now deprecated, the new interface is libgpiod. I want to use the API provided by libgpiod from my C program, however, it seems that libgpiod is not installed on the Jetson Nano by default? If so, I need to install the library. From the build instruction of libgpiod:
./autogen.sh --enable-tools=yes --prefix=<install path>
What should I put for
install path? Does
/usr/local work or it need to be install under aarch64-linux-gnu?