<div dir="ltr">Hi,<br><br>I don't know Centos.<br>I don't use Postgresql from packages, because it isn't perfect never (its my experience...). Always I compile Postgresql-Postgis from source and I'm happy.<br>In my opinion when the maintainer made the postgis package doesn't put the shp2pgsql / pgsql2shp program to the package.<br>This problem is independent that you can to run postgis_full_version SQL function and there isn't shp2pgsql, that is a "additional" binary software, isn't SQL function.<br>I guess you must try to complie & install & use postgresql-postgis from source... or must wait that Centos Team improving the mistake.<br>Or: compile  postgresql-postgis from source and copy the shp2pgsql / pgsql2shp to the /usr/local/bin (for example).<br><br>Greetings,<br>kjt<br><br><br><div class="gmail_quote">2015.06.12. 1:48 ezt írta ("Luciano" <<a href="mailto:br.analistagis@gmail.com" target="_blank">br.analistagis@gmail.com</a>>):<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello, I installed postgis in a server Centos 7 using the 'yum install postgis2_94' command, but shp2pgsql does not run.</div><div><br></div><div>When I search the existing shortcut in '/usr/bin/shp2pgsql', it points to </div><div>/etc/alternatives/ postgis-shp2pgsql ', </div><div>what points to' /usr/postgresql-9.4/bin/shp2pgsql ' what does not exist.</div><div><br></div><div>In short, when I run './usr/bin/shp2pgsql' or '/usr/postgresql-9.4/bin/shp2pgsql' get command not found.</div><div><br></div><div>For installation, I used the following repositories:</div><div><br></div><div><a href="http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm" target="_blank">http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm</a></div><div><a href="http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm" target="_blank">http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm</a></div><div><br></div><div>After the installation, with the comand: #select postgis_full_version(), I get:</div><div><br></div><div> postgis_full_version</div><div>----------------------------------------------------------------------------------</div><div> POSTGIS="2.1.7... </div><div> </div><div> That is, apparently, everything is normal...</div><div><br></div><div>This would be a bug of de install script?</div><div><br></div><div>Some suggestion ...?</div><div><br></div><div>Thanks.</div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Luciano<br></div><br></div></div></div></div>
</div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div>
</div>