[postgis-users] GDALFPolygonize undefined in rtpostgis-2.0

Bborie Park bkpark at ucdavis.edu
Thu Apr 19 14:09:36 PDT 2012


Jack,

My guess is that there are more than one GDAL libraries on your system
and the GDAL library used for testing the presence of GDAFPolygonize is
different than the GDAL library attempting to be loaded.  Since you
built postgis from source, you should be able to check config.log and
inspect the lines regarding the GDALFPolygonize test.

-bborie

On 04/19/2012 02:02 PM, Gold, Jack L (US SSA) wrote:
> 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 at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu



More information about the postgis-users mailing list