[Mapguide-trac] [mapguide-trac] #2874: Error on MgMappingUtil.StylizeLayers

MapGuide Open Source trac_mapguide at osgeo.org
Tue Aug 6 11:04:59 PDT 2024


#2874: Error on MgMappingUtil.StylizeLayers
----------------------+----------------------
 Reporter:  dfanetti  |        Owner:  (none)
     Type:  defect    |       Status:  new
 Priority:  low       |    Milestone:
Component:  General   |      Version:
 Severity:  trivial   |   Resolution:
 Keywords:            |  External ID:
----------------------+----------------------
Comment (by jng):

 Running `mgserver` with `LD_DEBUG=bindings,all` confirms that ld linker is
 binding various sqlite3 symbols to `libdwfcore.so` instead of the distro-
 supplied `libsqlite3.so`

 Current proposed solution being tested:

  * Section off thirdparty sources in DWFCore into its own static library
 target
  * Link this static library into DWFCore with `-Wl,--exclude-libs,ALL`

 Observations:

  * No `sqlite3*` symbols in `libdwfcore.so` (yay!)
  * HOWEVER, OGR FDO provider is now almost unusable as querying feature
 data with a basic BBOX causes a segfault in distro-supplied `libgeos`. We
 need to find a resolution on this in order for the proposed solution to be
 accepted.
-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2874#comment:10>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list