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






_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to