Termux files permission
Okay, from the above comments, hinting toward SELinux blocking acces to the files that are being copied around to the /data/data/ directory of apps. Yes it is SELlinux blockibg the access, you need just to set it to permissive mode with SELinux_switch and dont forget to set the user and group to the app's one. Thank you.
[Edit]
Okay so copying the files from termux with the options -pZL keeps everything in place and once you set the correct owner ans group it will work, I have not tried having a symlink from the droidc includes and libs folder to termux's ones.
If you missed fixing permission while copying files, you cén use /system/bin/restorecon -R (recurse) one both include and lib folders.