[postgis-users] GDALFPolygonize undefined in rtpostgis-2.0

Gold, Jack L (US SSA) jack.gold at baesystems.com
Thu Apr 19 14:02:22 PDT 2012


I am building and installing PostGIS 2.0.1SVN.  Whenever I attempt to load rtpostgis.sql I receive the following error:

ERROR:  could not load library "/usr/local/pgsql/lib/rtpostgis-2.0": /usr/local/pgsql/lib/rtpostgis-2.0: undefined symbol: GDALFPolygonize


********** Error **********

ERROR: could not load library "/usr/local/pgsql/lib/rtpostgis-2.0": /usr/local/pgsql/lib/rtpostgis-2.0: undefined symbol: GDALFPolygonize
SQL state: XX000


I built and installed postgresql-9.1.3 (--with-python),  proj-4.8.0 (--without-jni), geos-3.3.2 (--enable-python), and gdal-1.9.0 (--with-python --with-java=/opt/jdk1.6.0_26 --with-geos=../geos-3.3.2/tools/geos-config).

Finally, I built PostGIS-2.0.1SVN --with-raster -with-pgconfig=/usr/local/pgsql/bin/pg_config -with-geosconfig=../geos-3.3.2/tools/geos-config.

/etc/ld.so.conf.d contains postgresql.conf:

/usr/local/pgsql/lib
/usr/local/lib
/usr/lib

All libraries are stored in one of these locations.

$nm -u /usr/local/pgsql/lib/rtpostgis-2.0 | grep GDALFPolygonize
U GDALFPolygonize

$ nm --dynamic /usr/local/lib/libgdal.so.1.16.0 | grep GDALFPolygonize
004b4a40 T GDALFPolygonize

Any idea why the symbol is undefined in rtpostgis-2.0?

--Jack Gold






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120419/86a36ea0/attachment.html>


More information about the postgis-users mailing list