BBorie,

The config.log indicates "result: none required".  I know this is for the 
ac_cv_search, but does that have any effect on the symbol being compiled in?  I 
searched my system for alternate gdal installs and found none.

--Jack

-----Original Message-----
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Bborie Park
Sent: Thursday, April 19, 2012 5:10 PM
To: postgis-users@postgis.refractions.net
Subject: Re: [postgis-users] GDALFPolygonize undefined in rtpostgis-2.0

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@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkp...@ucdavis.edu
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to