#231: Glibc error when statically linking Geos
------------------------+---------------------------------------------------
Reporter: yvesdaemen | Owner: [email protected]
Type: defect | Status: new
Priority: major | Milestone: 3.1.0
Component: Core | Version: 3.0.3
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
When I statically link my C-program against Geos, the program crashes at
the very end.
I have been able to trace it back to the static string in io/WKBReader :
BAD_GEOM_TYPE_MSG
I cannot explain what goes wrong, but when I remove the static modifier
(why is it there anyway?) and initialise the string inside the
constructor, everything goes well.
Before I linked dynamically, and I also got (for me) unexplainable
Valgrind warnings at the end of my program. They probably come out worse
now...
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/231>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite
(JTS).
_______________________________________________
geos-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/geos-devel