Closed zorrobyte closed 5 years ago
Trying to set libtermux-exec.so to 777 didn't work.
The specific compilation I am attempting is
echo "Installing c-capnp"
git clone https://github.com/commaai/c-capnproto.git
cd c-capnproto
git submodule update --init --recursive
autoreconf -f -i -s
CXXFLAGS="-fPIC" ./configure
make -j4
make install```
Use unset LD_PRELOAD
. Termux-exec lib shouldn't be used inside proot.
I'm trying to compile come C modules with termux using proot
termux-chroot
, but some of the compilation steps result in this error: CANNOT LINK EXECUTABLE "/system/bin/sh": library "/data/data/com.termux/files/usr/lib/libtermux-exec.so" needed or dlopened by "/system/bin/sh" is not accessible for the namespace "(default)"I'm unsure how to solve it. Any help would be greatly appreciated!
edit: is this due to some sort of permissions issue?
This is my printenv