[postgis-users] CentOS PostGIS installation problem
Paul Ramsey
pramsey at opengeo.org
Thu Sep 13 19:33:39 PDT 2012
Your answer is there,
"libgeos_c.so.1: cannot open shared object file"
for some reason your postgis can't find your libgeos. The usual reason
is that it got installed in /usr/local/lib, but the linker doesn't
know about /usr/local/lib. This can be fixed by adding /usr/local/lib
to /etc/ld.so.conf and running /sbin/ldconfig
P.
On Thu, Sep 13, 2012 at 6:34 PM, Carol Peck <carolapeck at gmail.com> wrote:
> Hi,
>
> I'm trying to get PostGIS running on CentOS 5.8 (on a VPS). I have Postgres
> 8.4 installed from rpm. I built PostGIS 1.5 from source, install and make
> went properly.
>
> When I try to run postgis.sql I get the following, starting with the first
> line:
>
> psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:59: ERROR: could not
> load library "/usr/lib64/pgsql/postgis-1.5.so": libgeos_c.so.1: cannot open
> shared object file: No such file or directory
>
> and then later after aborted transaction errors:
>
> psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:7782: ERROR: type
> "box2d" does not exist
> psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:7783: ERROR: type
> "geometry" does not exist
> psql:/usr/share/pgsql/contrib/postgis-1.5/postgis.sql:7791: ERROR: type
> "geometry[]" does not exist
>
> Thanks in advance for any help!
>
>
>
>
>
> _______________________________________________
> 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