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

Benoit Chesneau <>
Wed Jan 6 10:18:28 CET 2016


not sure about your error but you may want to try
https://github.com/refuge/ucol_nif

with does collation using icu

- benoît

On Wed, Jan 6, 2016 at 9:38 AM Abhishek Singh <>
wrote:

> Hi,
>
> 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.
>
> /Abhi
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160106/486b6018/attachment.html>


More information about the erlang-questions mailing list