Bugs

From: Abhay Kumar <abhay4india(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Cc: abhay(dot)kumar1(at)wipro(dot)com
Subject: Bugs
Date: 2008-01-29 10:08:58
Message-ID: 676273.92719.qm@web56412.mail.re3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

  • Re: Bugs at 2008-01-29 11:08:36 from Gregory Stark

Browse pgsql-bugs by date

  From Date Subject
Next Message Gregory Stark 2008-01-29 11:08:36 Re: Bugs
Previous Message Dmitry Afanasiev 2008-01-29 09:45:28 BUG #3910: Incorrect behavior of UPDATE statement on tables with constraints UNIQUE/PRIMARY KEY