[erlang-questions] Looking for details on static linking of NIFs

Neeraj Sharma neerajsharma.live@REDACTED
Sun Jun 12 19:12:43 CEST 2016


Hi,

I want to use crypto (and other NIFs) without letting Erlang
dynamically load them when started. After going through a number of
documents and particularly the following two I still cannot figure out
why Erlang tries to load the crypto library when trying to start the
crypto or via crypto:start().

http://erlang.org/doc/man/erl_nif.html
http://erlang.org/doc/installation_guide/INSTALL.html

I am building Erlang with --enable-static-nifs and
--disable-dynamic-ssl-lib. Any clue or pointers to internal operations
of the static NIFs will be of great help.

Thanks,
Neeraj



More information about the erlang-questions mailing list