[postgis-tickets] [PostGIS] #4321: OSX cannot link libwagyu without -lstdc++

PostGIS trac at osgeo.org
Tue Feb 5 12:49:24 PST 2019


#4321: OSX cannot link libwagyu without -lstdc++
---------------------+---------------------------
 Reporter:  pramsey  |      Owner:  Algunenano
     Type:  defect   |     Status:  assigned
 Priority:  blocker  |  Milestone:  PostGIS 3.0.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 Seems like a platform difference, haven't seen this issue since we
 banished the GEOS c++ API many moons ago, but we cannot build --with-wagyu
 on OSX either (#4320) since that requires a link entry for libstdc++.  The
 failure is in linking the postgis.so module, and it looks kind of like
 {{{
   "std::logic_error::logic_error(char const*)", referenced from:
       std::__1::vector<mapbox::geometry::point<int>,
 std::__1::allocator<mapbox::geometry::point<int> > >::reserve(unsigned
 long) in libwagyu.a(lwgeom_wagyu.o)
 }}}
 etc, etc.

 And it is fixed by adding `-lstdc++` to the link line. Why are we not also
 seeing this kind of failure under Windows?

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4321>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list