Re: [racket-dev] Building Racket 8.2 on Termux/Android

2021-10-19 Thread wesley bitomski
Thanks! The Termux docs did mention that dlopen was "different": > Symbol visibility when opening shared libraries using dlopen() works differently. On a normal linker, when an executable linking against a shared library libA dlopen():s another shared library libB, the symbols of libA are exposed

Re: [racket-dev] Building Racket 8.2 on Termux/Android

2021-10-19 Thread Matthew Flatt
At Tue, 19 Oct 2021 16:25:33 -0700 (PDT), Wesley Bitomski wrote: > ffi-lib: could not load foreign library > path: [all opened] > system error: unknown error The "[all opened]" here means that (define libmz (ffi-lib #f)) failed in "racket/collects/openssl/mzssl.rkt". That line, plus

[racket-dev] Building Racket 8.2 on Termux/Android

2021-10-19 Thread Wesley Bitomski
OK. I'm pretty deep in this rabbithole, but forgive me if I'm skipping some details. I've spent a good portion of yesterday, and a unreasonable chunk of today, trying to build Racket for aarch64 on Android using Termux for the build environment (yes, I'm building this on the target (a phone),