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
(define-ffi-definer define-mzscheme libmz)
are leftovers that can just be removed, and I'll get rid of them.
If deleting those lines is not an option for some reason, or in case
you run into the same problem somewhere else: I think the cause of the
underlying error is a `dlopen` call with `NULL` as its first argument.
Unless that's just disallowed on Android, you might be able to work
around the problem with a linker flag like `-rdynamic`.