Opened 14 years ago

Closed 4 years ago

#694 closed defect (fixed)

Undefined symbols in libPostGISProvider-3.5.0.so

Reported by: trevorwekel Owned by: trevorwekel
Priority: blocker Milestone: 3.5.0
Component: PostGIS Provider Version: 3.5.0
Severity: 1 Keywords: linux PostGIS PostgreSQL
Cc: External ID:

Description

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.

Change History (1)

comment:1 by jng, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.