Opened 14 years ago
Closed 14 years ago
#1382 closed defect (fixed)
Mapguide 2.2 beta. Undefined symbols in FDO PostGIS e FDO PostgreSQL/PostGIS providers
Reported by: | gabrimonfa | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | General | Version: | 2.2.0 |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
This problem was reported in the mapguide-internals mailing list on Thu, Jun 17, 2010.
PostGIS provider and newer PostgreSQL/PostGIS provider have many unresolved symbols (and they do not depend on libpq). Probably a build issue
OS: Centos 5.5 Mapguide 2.2 beta FDO: 3.5.0
$ ldd libFdoPostgreSQL-3.5.0.so
linux-gate.so.1 => (0x00f8b000) libz.so.1 => /usr/lib/libz.so.1 (0x00110000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x0016e000) libxalan-c.so => /usr/local/fdo-3.5.0/lib/libxalan-c.so (0x00bd6000) libxalanMsg.so.17 => /usr/local/fdo-3.5.0/lib/libxalanMsg.so.17 (0x00b5e000) libxerces-c.so.25 => /usr/local/fdo-3.5.0/lib/libxerces-c.so.25 (0x00f8c000) libpthread.so.0 => /lib/libpthread.so.0 (0x00123000) libdl.so.2 => /lib/libdl.so.2 (0x0013b000) libFDO-3.5.0.so => /usr/local/fdo-3.5.0/lib/libFDO-3.5.0.so (0x021ec000) libExpressionEngine-3.5.0.so => /usr/local/fdo-3.5.0/lib/libExpressionEngine-3.5.0.so (0x025bf000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x001a0000) libm.so.6 => /lib/libm.so.6 (0x0013f000) libc.so.6 => /lib/libc.so.6 (0x06871000) /lib/ld-linux.so.2 (0x00bba000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a1b000)
(no dependency on libpq!)
$ ldd -r libPostGISProvider-3.5.0.so
... undefined symbol: PQclear (./libPostGISProvider-3.5.0.so) undefined symbol: PQresultStatus (./libPostGISProvider-3.5.0.so) undefined symbol: PQgetvalue (./libPostGISProvider-3.5.0.so) undefined symbol: PQclear (./libPostGISProvider-3.5.0.so) (many more)
The same happens for PostGIS provider.
The PostGIS provider should be working now.