[postgis-users] Installing PostGIS - createlang plpgsql / lwpostgis.sql / spatial_ref_sys.sql?

strk at refractions.net strk at refractions.net
Wed Dec 28 07:21:59 PST 2005


On Mon, Dec 26, 2005 at 02:48:20PM -0600, Adam wrote:
> Below you can see I'm getting this error:
> 
> [postgres at localhost postgis-1.1.0]$ psql  -s -d geo -f lwpostgis.sql
> ***(Single step mode: verify
> command)*******************************************
> BEGIN;
> ***(press return to proceed or enter x and return to
> cancel)********************
> 
> BEGIN
> ***(Single step mode: verify
> command)*******************************************
> CREATE OR REPLACE FUNCTION histogram2d_in(cstring)
>         RETURNS histogram2d
>         AS '$libdir/liblwgeom.so.1.1', 'lwhistogram2d_in'
>         LANGUAGE 'C' IMMUTABLE STRICT;
> ***(press return to proceed or enter x and return to
> cancel)********************
> 
> psql:lwpostgis.sql:39: NOTICE:  type "histogram2d" is not yet defined
> DETAIL:  Creating a shell type definition.
> psql:lwpostgis.sql:39: ERROR:  could not load library
> "/usr/local/pgsql/lib/liblwgeom.so.1.1": libgeos_c.so.1: cannot open shared
> object file:
> No such file or directory
> 
> 
> I looked up this error and I found that you need to run "ldconfig" to solve
> this.  I read that this is a common problem on Linux.  Would it be possible
> to get the FAQ to include this isse?

Sure, what about providing a patch against postgis.xml ?
You might also add the byacc requirement.

Thanks.

--strk;



More information about the postgis-users mailing list