[postgis-users] shp2pgsql not found

Paul Ramsey pramsey at refractions.net
Sat Oct 28 22:56:31 PDT 2006


Sometimes you have to be explicit about where your executable is,  
with a ./command syntax:

./shp2pgsql -s -i foo.shp foo > foo.sql

Or, you could explicitly add your pgsql directory to your search path  
instead:

export PATH=${PATH}:/usr/local/pgslq/bin

Then your command below should work.

Yours,

Paul


On 28-Oct-06, at 8:50 PM, Salvatore Larosa wrote:

> Sorry my english!
> I have installed postgres/postgis in my Debian Etch on laptop, but
> when start command shp2pgsql it get the error:
>
> postgres at debian:/usr/local/pgsql/bin$ shp2pgsql -s -1
> /home/sam/Desktop/test_postgis/Dighe.shp test Prova >
> /home/sam/Desktop/test_postgis/test.sql
> -su: shp2pgsql: command not found
>
> Please help me!
>
>
> -- 
> View this message in context: http://www.nabble.com/shp2pgsql-not- 
> found-tf2533044.html#a7057587
> 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




More information about the postgis-users mailing list