SweetIQ / expostal

Elixir binding for Libpostal - a library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.
MIT License
97 stars 18 forks source link

Fix Race Condition on Compilation #4

Closed jdemaris closed 7 years ago

jdemaris commented 7 years ago

This change solved the issue for me. It seems like it's a race condition on the build process of the dependency that causes it to try and load the .so file before it has been symlinked into the _build folder structure.

I used the ex_ncurses NIF as a reference here: https://github.com/jfreeze/ex_ncurses/blob/master/lib/ex_ncurses.ex#L2

Targets Issue #3

xiamx commented 7 years ago

Thanks @jdemaris , great find!