<div dir="ltr">not sure about your error but you may want to try <a href="https://github.com/refuge/ucol_nif">https://github.com/refuge/ucol_nif</a><div><br></div><div>with does collation using icu</div><div><br></div><div>- benoît</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 6, 2016 at 9:38 AM Abhishek Singh <<a href="mailto:singhabhishek.bit@gmail.com">singhabhishek.bit@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I’m trying to get NIF implementation of unicode collation integrated into a database. Erlang module trying to load NIF: <a href="https://gist.github.com/abhi-bit/3aea4ff78ffb52820260" rel="noreferrer" target="_blank">https://gist.github.com/abhi-bit/3aea4ff78ffb52820260</a><br>
<br>
During on_load function call, I’m seeing below error:<br>
<br>
The on_load function for module merger returned {error, {bad_lib, "Failed to find library init function: 'dlsym(0x7fa288718b30, _nif_init): symbol not found'”}}<br>
<br>
Any suggestion why that could be happening here? NIF C code lives under <a href="https://github.com/abhi-bit/merger" rel="noreferrer" target="_blank">https://github.com/abhi-bit/merger</a> for reference.<br>
<br>
/Abhi<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>