[erlang-questions] Error from on_load function of NIF module

Abhishek Singh <>
Wed Jan 6 06:55:14 CET 2016


I’m trying to get NIF implementation of unicode collation integrated into a database. Erlang module trying to load NIF: https://gist.github.com/abhi-bit/3aea4ff78ffb52820260

During on_load function call, I’m seeing below error:

The on_load function for module merger returned {error, {bad_lib, "Failed to find library init function: 'dlsym(0x7fa288718b30, _nif_init): symbol not found'”}}

Any suggestion why that could be happening here? NIF C code lives under https://github.com/abhi-bit/merger for reference.


More information about the erlang-questions mailing list