[postgis-users] Shp2pgsql not found in Centos 7 64 bit

Luciano br.analistagis at gmail.com
Thu Jun 11 16:47:49 PDT 2015


Hello, I installed postgis in a server Centos 7 using the 'yum install
postgis2_94' command, but shp2pgsql does not run.

When I search the existing shortcut in '/usr/bin/shp2pgsql', it points to
/etc/alternatives/ postgis-shp2pgsql ',
what points to' /usr/postgresql-9.4/bin/shp2pgsql ' what does not exist.

In short, when I run './usr/bin/shp2pgsql' or
'/usr/postgresql-9.4/bin/shp2pgsql' get command not found.

For installation, I used the following repositories:

http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

After the installation, with the comand: #select postgis_full_version(), I
get:

 postgis_full_version
----------------------------------------------------------------------------------
 POSTGIS="2.1.7...

 That is, apparently, everything is normal...

This would be a bug of de install script?

Some suggestion ...?

Thanks.
-- 
Luciano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20150611/feb4ea95/attachment.html>


More information about the postgis-users mailing list