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: force linking of shared libraries during build #12

Open gf3 opened 1 day ago

gf3 commented 1 day ago

Force linking of shared libraries (libpostal) at build time instead of at runtime.

This fixes the issue of the built library (expostal.so) being unable to lookup symbols from libpostal at runtime on some systems.

expostal.so: undefined symbol: libpostal_expand_address
gf3 commented 1 day ago

For others who might find this, I have also opened a corresponding PR on the as-of-now most up-to-date fork → https://github.com/dkuku/expostal/pull/1