libgpio can be used to ease the access of GPIOs on Linux systems using the old deprecaded sysfs method.
Please consider using https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
./autogen.sh
./configure && make && make install
also debian packages can be built:
./autogen.sh
dpkg-buildpackage