From: Adrian Klaver <adrian.klaver@aklaver.com>
To: susan.hurst@brookhurstdata.com, Discuss List Postgres <pgsql-general@lists.postgresql.org>
Subject: Re: shp2pgsql is missing
Date: Sun, 26 Jul 2020 12:27:33 -0700
Message-ID: <63fd83b9-ac3c-2efd-74ac-bcbcddd2142d@aklaver.com> (raw)
In-Reply-To: <75095daf0470958971bf8429d8e03ab5@mail.brookhurstdata.net>
References: <75095daf0470958971bf8429d8e03ab5@mail.brookhurstdata.net>
On 7/26/20 11:25 AM, Susan Hurst wrote:
> How can I acquire or download the shp2pgsql file that I need for the
> tiger geocoder?
>
> All of the online searches for a solution have not been helpful.
> Supposedly, shp2pgsql is supposed to just be there when postgis is
> installed, but it's not. I even tried updating postgis with: ALTER
> EXTENSION postgis UPDATE;
> ...but the message just says it's already there: NOTICE: version
> "3.0.0" of extension "postgis" is already installed.
>
> Where can I find the elusive file so I can install it properly?
>
> Here are the specifics of my system:
>
> Location: AWS EC2 instance
> OS: FreeBSD 12.1-RELEASE-p7 FreeBSD 12.1-RELEASE-p7 GENERIC amd64
> PG Location: /usr/local/lib/postgresql/
> PG Version: PostgreSQL 11.7 on amd64-portbld-freebsd12.1, compiled by
> FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on
> LLVM 8.0.1), 64-bit
>
> locate shp2pgsql returns nothing
>
> I understood that I should find shp2pgsql in /usr/local/lib/postgresql/,
> but its not there. BTW, it's not in /usr/lib/ either, which is where
> most of the online sources say it should be.
>
> I would welcome any insight into finding the missing shp2pgsql file.
>
> Thanks for your help!
>
How did you install PostGIS?
> Sue
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com
Subject: Re: shp2pgsql is missing
In-Reply-To: <63fd83b9-ac3c-2efd-74ac-bcbcddd2142d@aklaver.com>
References: <75095daf0470958971bf8429d8e03ab5@mail.brookhurstdata.net> <63fd83b9-ac3c-2efd-74ac-bcbcddd2142d@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox