otp icon indicating copy to clipboard operation
otp copied to clipboard

ERL-571: relax undefined symbol checks for nifs on dlopen

Open OTP-Maintainer opened this issue 7 years ago • 1 comments

Original reporter: vans163 Affected version: Not Specified Component: erts Migrated from: https://bugs.erlang.org/browse/ERL-571


https://stackoverflow.com/questions/27868890/undefined-symbols-on-erlang-nif-shared-library

Some libraries we use ship with undefined symbols by nature. And they are so huge it will cost significant resources to fix all the undefined symbols.

Is it possible to add an option to determine how dlopen gets called RTLD_NOW | RTLD_GLOBAL vs RTLD_LAZY?

OTP-Maintainer avatar Feb 25 '18 00:02 OTP-Maintainer