Bugs - Mailing list pgsql-bugs

From Abhay Kumar
Subject Bugs
Date
Msg-id 676273.92719.qm@web56412.mail.re3.yahoo.com
Whole thread Raw
Responses Re: Bugs
List pgsql-bugs
Hi,
  I am installing the Postgis 2.2.1 on PostgreSQL.
  I am acing the error:


  1. Download postgis-1.2.1.tar.gz from
      http://postgis.refractions.net/download/
      to /usr/share/postgresql/8.1/contrib

  2.  tar xvzf postgis-1.2.1.tar.gz
       cd postgis-1.2.1
        ./configure --prefix=/usr --with-pgsql=/usr/bin/pg_config --with-geos=/usr/bin/geos-config --with-proj=/usr
        make
        install
  3. # create a PostgreSQL database for a test
       createdb zpostgis_test
       createlang plpgsql zpostgis_test
-      psql -d zpostgis_test /usr/share/postgresql/8.1/contrib/postgis-1.2.1/wpostgis.sql
+      psql -d zpostgis_test -f /usr/share/postgresql/8.1/contrib/postgis-1.2.1/lwpostgis.sql

      We now get an error "Could not be loaded liblwgeom.so.1.2"
       even liblwgeom.so.1.2 is in /usr/lib.
+
+ Or execute the first SQL statement in lwpostgis.sql:
+ postgres=# CREATE OR REPLACE FUNCTION histogram2d_in(cstring) RETURNS histogram2d AS '/usr/lib/liblwgeom.so.1.2',
'lwhistogram2d_in'LANGUAGE 'C' IMMUTABLE STRICT; -- WITH (isstrict); 
+ NOTICE:  type "histogram2d" is not yet defined
+ DETAIL:  Creating a shell type definition.
+ ERROR:  could not load library "/usr/lib/liblwgeom.so.1.2": /usr/lib/liblwgeom.so.1.2: undefined symbol: has_arc



  Please provide me the Solution.

  Thanks and Regards
  ABHAY KUMAR
  P Please do not print this email unless it is absolutely necessary. Spread environmental awareness.




---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

pgsql-bugs by date:

Previous
From: "Dmitry Afanasiev"
Date:
Subject: BUG #3910: Incorrect behavior of UPDATE statement on tables with constraints UNIQUE/PRIMARY KEY
Next
From: Gregory Stark
Date:
Subject: Re: Bugs