[Tile-serving] [osm2pgsql] Symbol Lookup Error (#449)

Jon Burgess notifications at github.com
Fri Sep 11 20:15:57 UTC 2015


The error is probably due to a mismatch between the geos library used to compile osm2pgsql and the one version the linker loads when you run osm2pgsql. It seems likely you built your own geos library from source and installed in /usr/local/lib but when osm2pgsql runs it uses the one from /usr/lib. Having multiple copies of the same library often causes issues.

You could try "ldd /path/to/osm2pgsql", this will likely confirm it is trying to load the wrong version of the geos library.

The best option is often to uninstall the packaged version of the library and its "dev" package when you intend to compile it yourself.

Alternatively, you might be able to force it to use the right library setting LD_LIBRARY_PATH before running osm2pgsql.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/449#issuecomment-139652421
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150911/d4138391/attachment.html>


More information about the Tile-serving mailing list