[geos-devel] [GEOS] #231: Glibc error when statically linking Geos
GEOS
geos-trac at osgeo.org
Thu Feb 26 09:08:39 EST 2009
#231: Glibc error when statically linking Geos
------------------------+---------------------------------------------------
Reporter: yvesdaemen | Owner: geos-devel at lists.osgeo.org
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).
More information about the geos-devel
mailing list