[postgis-users] Problem with WKTRaster: cannot get raster type in database

AJ7 ackbar at ackadij.com
Fri Mar 11 08:16:55 PST 2011



 Yes I do have the rtpostgis.so file in "usr/local/pgsql-9.0/lib", but I
don't have any libgdal. where should I get this from? Is this why its not
working?


Pierre Racine-2 wrote:
> 
> Do you have the "rtpostgis" shared library in "usr/local/pgsql-9.0/lib"?
> There should be "libgdal" as well.
> 
> Pierre
> 
>>-----Original Message-----
>>From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
>>bounces at postgis.refractions.net] On Behalf Of AJ7
>>Sent: 11 mars 2011 07:02
>>To: postgis-users at postgis.refractions.net
>>Subject: [postgis-users] Problem with WKTRaster: cannot get raster type in
database
>>
>>
>>Hi,
>>I installed postgis1.5 and the corresponding wkt package for the Mac OS
>>Leopard 1.6...using the packages from kyngchaos. While I believe that
>>wktraster has been installed properly (i.e. i could run the
>>gdal2wktraster.py script on a tiff file), when I try to enable my database
>>for the raster type support, this is not working. I get the error:
>>psql:/usr/local/pgsql/share/contrib/rtpostgis.sql:32: ERROR:  could not
>>access file "$libdir/rtpostgis": No such file or directory
>>psql:/usr/local/pgsql/share/contrib/rtpostgis.sql:37: ERROR:  type raster
>>does not exist
>>psql:/usr/local/pgsql/share/contrib/rtpostgis.sql:45: ERROR:  function
>>raster_in(cstring) does not exist
>>psql:/usr/local/pgsql/share/contrib/rtpostgis.sql:58: ERROR:  could not
>>access file "$libdir/rtpostgis": No such file or directory
>>
>>I am try the following command:
>>su - postgres -c '/usr/local/pgsql-9.0/bin/psql -p 5433 -d [dbname] -f
>>/usr/local/pgsql/share/contrib/rtpostgis.sql'
>>
>>what is wrong here please?
>>pg_config --libdir -> usr/local/pgsql-9.0/lib
>>pg_config --pkglibdir -> usr/local/pgsql-9.0/lib
>>
>>really need help on this.Hope its a simple thing.
>>thanks
>>
>>
>>--
>>View this message in context:
http://old.nabble.com/Problem-with-WKTRaster%3A-cannot-get-raster-type-
>>in-database-tp31124425p31124425.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/Problem-with-WKTRaster%3A-cannot-get-raster-type-in-database-tp31124425p31126445.html
Sent from the PostGIS - User mailing list archive at Nabble.com.




More information about the postgis-users mailing list