Closed wbuchanan closed 8 years ago
You're almost there.
postal.so
, the PgSQL binding, into the PgSQL lib
directory. Goodlibpostal.so.0
into /usr/local/lib
, the Linux system library extension area. Good.postal.so
, PostgreSQL is unable to find libpostal.so.0
(note, they are different libraries). Problem.To fix the problem, you need to tell Linux that there are useful things in /usr/local/lib
it might want. Probably the fastest solution is, as root, to do:
echo /usr/local/lib > /etc/ld.so.conf.d/local.conf
/sbin/ldconfig
Check the contents of /etc/ld.so.conf.d
and make sure I'm getting things right from memory in terms of file names, etc, but that should work.
@pramsey awesome. We did some comparisons between PostGIS Tiger Geocoder and the service provided by ESRI in ArcGIS and had about 300 or so differences out of ~125k addresses. Given that the address data we have is so messy, I imagine this will help to get a lot more addresses geocoded. Thanks again.
Thanks @pramsey ! Much appreciated!
Edited the variables in the Makefile:
Ran make install as a regular user:
Ran the same thing with sudo:
Connected to the db and then building the extension failed:
The file does exist there and is readable. Not sure how to diagnose things further. This will be a huge help in the K-12 education sector where the quality of address data is fairly bad to preprocess things a bit before using the PostGIS Tiger geocoder.