Skip to content

v0.1.1

Compare
Choose a tag to compare
@DjDeveloperr DjDeveloperr released this 30 Jan 15:26
· 39 commits to main since this release
21bb371

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.