I'm trying to compile Racket 8.4(cs) on my Android phone with Termux, because the version provided in their repo is too old (7.4 bc).
./configure --prefix=$PREFIX and it seems good,
make also succeeded with no errors.
Everything went well until I reached
make install part, where it fails:
make: Entering directory '/data/data/com.termux/files/home/downloads/racket-8.4/src/cs/c' /data/data/com.termux/files/usr/bin/racket -Z ../../../../../build/config -X "/data/data/com.termux/files/usr/share/racket/collects" -G "/data/data/com.termux/files/usr/etc/racket" -Z ../../../../../build/config -N "raco" -l- setup --no-user ffi-lib: could not load foreign library path: [all opened] system error: unknown error context...: /data/data/com.termux/files/usr/share/racket/collects/ffi/unsafe.rkt:249:2: get-ffi-obj* body of "/data/data/com.termux/files/usr/share/racket/collects/net/win32-ssl.rkt" body of "/data/data/com.termux/files/usr/share/racket/collects/setup/main.rkt" make: *** [Makefile:500: do-setup-install] Error 1
Both minimal and full packages fail at the same place with this confusing error.
I also tried snapshot build, which errors even earlier at the beginning of
Is there anything I can do in order to solve this?