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

AJ7 ackbar at ackadij.com
Fri Mar 11 04:02:12 PST 2011


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.




More information about the postgis-users mailing list