otp
otp copied to clipboard
ERL-571: relax undefined symbol checks for nifs on dlopen
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
?