diff -uNr PyPanel-2.4/ppmodule.c PyPanel-2.4.mod/ppmodule.c --- PyPanel-2.4/ppmodule.c 2005-06-27 02:24:43.000000000 +0300 +++ PyPanel-2.4.mod/ppmodule.c 2017-12-12 17:52:46.256911457 +0200 @@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include +#include <@TERMUX_PREFIX@/include/python2.7/Python.h> #include #include #include @@ -265,7 +265,7 @@ attempting to open them later with the RTLD_NOW flag which fails. If you're reading this and know of a proper solution, please let me know .. */ - handle = dlopen("/usr/lib/libImlib2.so.1", RTLD_NOW|RTLD_GLOBAL); + handle = dlopen("@TERMUX_PREFIX@/lib/libImlib2.so", RTLD_NOW|RTLD_GLOBAL); if (!handle) { printf("Imlib2 dlopen failed: %s\n", dlerror());