v0.1.1
This release fixes importing Python modules that make use of native libraries on Linux/macOS, such as NumPy.
For those modules to work, we need to open Python C library with RTLD_GLOBAL
flag (passed to dlopen
) to allow subsequently loaded libraries to be able to use symbols from the Python library. But Deno.dlopen
does not support those additional flags and always loads with RTLD_LOCAL
.
As a workaround, I have added an FFI call to libc
's dlopen
with required flags.