Geos rebuild needed with gcc5?

Marcin Juszkiewicz mjuszkiewicz at redhat.com
Thu Feb 26 11:21:10 UTC 2015


Hi

I wanted to fix osm2pgsql failure on aarch64 [1]. Went through osm2pgsql
github page and list of issues there.

1. http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2897601


It pointed me to --without-lockfree argument to configure script to fix
libboost_atomic linking issue. Had to update to 0.87.2 to get that. And
it fixed f22 failure.

But in f23 it still failed on geos linking...

-----------------------------------------------------------------------
./.libs/libosm2pgsql.a(geometry-builder.o): In function
`geometry_builder::parse_wkt(char const*, osmNode***, int**, int*)':

/builddir/build/BUILD/osm2pgsql-0.87.0/geometry-builder.cpp:295:
undefined reference to
`geos::io::WKTReader::read(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > co
nst&)'


-----------------------------------------------------------------------

Rebuilt geos, updated it in mock and then osm2pgsql 0.87.2 built fine as
well.

Issue in f23 happens also on primary archs:
http://koji.fedoraproject.org/koji/taskinfo?taskID=9080614


More information about the devel mailing list