openvenues / libpostal

A C library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.
MIT License
4.07k stars 419 forks source link

Error loading transliteration module, dir=(null) #317

Open oddsocksio opened 6 years ago

oddsocksio commented 6 years ago

just tried to build libpostal using the commands as detailed in the readme

after running make install i wind up with an address_parser that works but when trying to run libpostal i get the error

ERR   Error loading transliteration module, dir=(null)
   at libpostal_setup_datadir (libpostal.c:1047) errno: No such file or directory

in the ./configure step is set --datadir=/opt/ and all the data appears to be correct as running libpostal_data download all /opt/libpostal states that all the data files are upto date

this is running on a clean centos 7 vm and selinux is disabled

albarrentine commented 6 years ago

That sounds like something didn't download properly. Can you remove the datadir and try again?