[postgis-users] WKT Raster - geos version error while running rtpostgis.sql
Tyler Erickson
tyler.erickson at mtu.edu
Tue Aug 24 05:14:03 PDT 2010
Yes, while building PostGIS I specified that it should use geos 3.2.2. Here
is the relevant output from the postgis ./configure step:
-------------- Dependencies --------------
GEOS config: /usr/local/geos/3.2.2/bin/geos-config
GEOS version: 3.2.2
PostgreSQL config: /usr/bin/pg_config
PostgreSQL version: PostgreSQL 8.4.4
PROJ4 version: 47
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.7.5
PostGIS debug level: 0
I also checked that when I request the postgis version from the template
database I created, it lists geos 3.2.2
psql -d $WKTRASTER_TEMPLATE -c "SELECT POSTGIS_FULL_VERSION()"
postgis_full_version
------------------------------------------------------------------------------------------------------
POSTGIS="1.5.1" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.7.1, 23 September
2009" LIBXML="2.7.5" USE_STATS
As a work around, I included libgeos-3.2.0.so in my list of shared
libraries. Once this was done, the rtpostgis.sql script ran without an
error. But I still don't know why it requires geos 3.2.0.
- Tyler
Pierre Racine-2 wrote:
>
> Hi Tyler,
>
> Is this the same geos you are using when compiling PostGIS? WKT Raster is
> indirectly rependent on geos via PostGIS.
>
> Pierre
>
>>-----Original Message-----
>>From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
>>bounces at postgis.refractions.net] On Behalf Of Tyler Erickson
>>Sent: 20 août 2010 18:55
>>To: postgis-users at postgis.refractions.net
>>Subject: [postgis-users] WKT Raster - geos version error while running
rtpostgis.sql
>>
>>
>>I am trying to run WKT Raster's rtpostgis.sql against a database, but am
>>encountering in the following error:
>>
>>psql:/usr/share/postgresql/8.4/contrib/rtpostgis.sql:32: ERROR: could not
>>load library "/usr/lib/postgresql/8.4/lib/rtpostgis.so": libgeos-3.2.0.so:
>>cannot open shared object file: No such file or directory
>>
>>I would have expected to see libgeos-3.2.2.so mentioned instead of
>>libgeos-3.2.0.so since I specified the GEOS version location during the
>>configure step.
>>
>>~/src/wktraster$ ./configure
>>--with-postgis-sources=/home/terickson/src/postgis/postgis-1.5.1
>>--with-gdal=/usr/local/gdal/1.7.1/bin/gdal-config
>>--with-geos=/usr/local/geos/3.2.2/bin/geos-config
>>
>>Other potentially relevant info:
>>
>>OS: Ubuntu 9.10
>>
>>PostGIS was built using GEOS 3.2.2
>>$ psql -d $WKTRASTER_TEMPLATE -c "SELECT POSTGIS_FULL_VERSION()"
>> postgis_full_version
>>------------------------------------------------------------------------------------------------------
>>-
>> POSTGIS="1.5.1" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.7.1, 23 September
>>2009" LIBXML="2.7.5" USE_STATS
>>(1 row)
>>
>>I do have GEOS 3.2.0 installed on my system... but I was trying to use the
>>latest version.
>>
>>Any idea why the WKT Raster script is trying to access GEOS 3.2.0 instead
of
>>the specified version 3.2.2?
>>
>>- Tyler
>>--
>>View this message in context:
http://old.nabble.com/WKT-Raster---geos-version-error-while-running-
>>rtpostgis.sql-tp29496374p29496374.html
>>Sent from the PostGIS - User mailing list archive at Nabble.com.
>>
>>_______________________________________________
>>postgis-users mailing list
>>postgis-users at postgis.refractions.net
>>http://postgis.refractions.net/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
--
View this message in context: http://old.nabble.com/WKT-Raster---geos-version-error-while-running-rtpostgis.sql-tp29496374p29521321.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
More information about the postgis-users
mailing list