You're probably going to want to call raster2pgsql directly instead of pg_wrapper. If the problem is with pg_wrapper, you're better asking a debian mailing list.
So... /usr/bin/raster2pgsql MYRASTER MYTABLE | psql -d MYDB -bborie On 10/25/2012 08:26 AM, José Pedro Santos wrote: > > Dear all, > > I have one problem when I try to load raster to Postgis with the script > raster2pgsql from the shell. > > I have this error: Error: pg_wrapper: invalid command name > > Before this error (I have Postgis version 2.0) I can't use the command > (raster2pgsql) in the shell (was not found) but i enable it with this > expression: > sudo ln -sf /usr/share/postgresql-common/pg_wrapper /usr/bin/raster2pgsql > > After that the error about pg_wrapper appear. > > Any suggestion? > > Best Regards and thanks, > Jose Santos > > > > > _______________________________________________ > 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