Ticket #231 (closed defect: duplicate)
Glibc error when statically linking Geos
|Reported by:||yvesdaemen||Owned by:||mloskot|
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...