[Tile-serving] [osm2pgsql] Compiling from source not working ... ? (#144)

kinkersnick notifications at github.com
Tue May 6 14:47:12 UTC 2014


I'm trying to build from source on OSX 10.9.2 (Mavericks).

I've used the following commands:

git clone https://github.com/openstreetmap/osm2pgsql.git
./autogen.sh
./configure
make

No executable has been created, however.

Here is the end of the output from the make command, which seems to list some errors, though I don't know what they mean:

clang: warning: argument unused during compilation: '-pthread'
clang: warning: argument unused during compilation: '-pthread'
ld: warning: directory not found for option '-L/usr/lib/x86_64-linux-gnu'
Undefined symbols for architecture x86_64:
  "geos::io::WKTReader::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      _parse_wkt in build_geometry.o
  "geos::geom::GeometryFactory::createPolygon(geos::geom::LinearRing*, std::__1::vector<geos::geom::Geometry*, std::__1::allocator<geos::geom::Geometry*> >*) const", referenced from:
      _get_wkt_simple in build_geometry.o
      _get_wkt_split in build_geometry.o
      _build_geometry in build_geometry.o
  "geos::geom::GeometryFactory::createMultiPolygon(std::__1::vector<geos::geom::Geometry*, std::__1::allocator<geos::geom::Geometry*> >*) const", referenced from:
      _build_geometry in build_geometry.o
  "geos::geom::GeometryFactory::createMultiLineString(std::__1::vector<geos::geom::Geometry*, std::__1::allocator<geos::geom::Geometry*> >*) const", referenced from:
      _build_geometry in build_geometry.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [osm2pgsql] Error 1
make: *** [all] Error 2


Any thoughts?

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


More information about the Tile-serving mailing list