[fdo-trac] #694: Undefined symbols in libPostGISProvider-3.5.0.so

FDO trac_fdo at osgeo.org
Sat Sep 11 01:35:46 EDT 2010


#694: Undefined symbols in libPostGISProvider-3.5.0.so
--------------------------------+-------------------------------------------
   Reporter:  trevorwekel       |       Owner:  trevorwekel             
       Type:  defect            |      Status:  new                     
   Priority:  blocker           |   Milestone:  3.5.0                   
  Component:  PostGIS Provider  |     Version:  3.5.0                   
   Severity:  1                 |    Keywords:  linux PostGIS PostgreSQL
External_id:                    |  
--------------------------------+-------------------------------------------
 When the PostGIS Provider is build using configure/make, a number of
 undefined symbols appear when "ldd -r" is run on the .so file

 undefined symbol: PQclear       (./libPostGISProvider.so)
 undefined symbol: PQresultStatus        (./libPostGISProvider.so)
 undefined symbol: PQgetvalue    (./libPostGISProvider.so)
 undefined symbol: PQclear       (./libPostGISProvider.so)
 undefined symbol: PQresultErrorMessage  (./libPostGISProvider.so)
 undefined symbol: PQexec        (./libPostGISProvider.so)

 undefined symbol: _ZN12FdoFunctionZ6CreateEv
 (./libPostGISProvider-3.5.0.so)
 undefined symbol: _ZN12FdoFunctionX6CreateEv
 (./libPostGISProvider-3.5.0.so)
 undefined symbol: _ZN12FdoFunctionY6CreateEv
 (./libPostGISProvider-3.5.0.so)
 undefined symbol: _ZN12FdoFunctionM6CreateEv
 (./libPostGISProvider-3.5.0.so)

 The first block is due to damaged libpq.a and libecpg.a libraries checked
 into Subversion.  Libraries rebuild from the PostgreSQL 8.4.2 sources work
 ok.

 The second block is due to a missing libExpressionEngine library
 dependency in Providers/PostGIS/Src/Makefile.am.  Adding the missing
 dependency to Makefile.am fixes the issue.

 The undefined symbols prevent the PostGIS library from loading
 successfully on Linux.  The first block of undefined symbols also causes
 load errors with the PostgreSQL provider.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/694>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list