<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi list,<br>
<br>
compiling Postgis 1.3.2 on a Solaris 10 x86_64, I´m running into a
fatal error while executing lwpostgis.sql.<br>
My prerequisites are:<br>
Solaris 10, x86_64<br>
Postgres 8.2.6 (packaged for Solaris by <a class="moz-txt-link-abbreviated" href="http://www.blastwave.org">www.blastwave.org</a>)<br>
proj 4.4.8 </font></font><font size="-1"><font
face="Helvetica, Arial, sans-serif">(packaged for Solaris by
<a class="moz-txt-link-abbreviated" href="http://www.blastwave.org">www.blastwave.org</a>)<br>
geos 3.0.0 (compiled myself)<br>
<br>
My configure options are:<br>
<font face="Courier New, Courier, monospace">./configure \<br>
--with-proj=/opt/csw \<br>
--prefix=/usr/local/postgis-1.3.2</font><br>
<br>
The configure summary reads:<br>
<font face="Courier New, Courier, monospace">SUMMARY<br>
-------------------------------------------------------<br>
<br>
HOST_OS: solaris2.10<br>
<br>
PGSQL: /bin/pg_config<br>
PROJ: prefix=/opt/csw libdir=/opt/csw/lib<br>
ICONV: 1 -liconv<br>
<br>
PORTNAME: solaris<br>
PREFIX: /usr/local/postgis-1.3.2<br>
EPREFIX: ${prefix}<br>
DOC: ${prefix}/share/doc<br>
DATA: ${datarootdir}<br>
MAN: ${datarootdir}/man<br>
BIN: ${exec_prefix}/bin<br>
EXT: ${exec_prefix}/lib (${exec_prefix}/lib)<br>
-------------------------------------------------------</font><br>
</font></font><font size="-1"><font face="Helvetica, Arial, sans-serif"><br>
I use gmake (gcc 3.4.5, </font></font><font size="-1"><font
face="Helvetica, Arial, sans-serif">packaged for Solaris by
<a class="moz-txt-link-abbreviated" href="http://www.blastwave.org">www.blastwave.org</a>). </font></font><font size="-1"><font
face="Helvetica, Arial, sans-serif">No errors during gmake and gmake
install.<br>
<br>
I then created a database (template_postgis) and issued<br>
</font></font><code>createlang plpgsql template_postgis</code><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"><br>
Importing lwpostgis.sql ends up with an error. I extracted the first
few lines of lwpostgis.sql into a test.txt:<br>
<font face="Courier New, Courier, monospace">CREATE OR REPLACE FUNCTION
histogram2d_in(cstring)<br>
RETURNS histogram2d<br>
AS '/usr/local/postgis-1.3.2/lib/liblwgeom', 'lwhistogram2d_in'<br>
LANGUAGE 'C' IMMUTABLE STRICT; -- WITH (isstrict);</font><br>
<br>
This is the output:<br>
<font face="Courier New, Courier, monospace"># psql -d template_postgis
-f test.txt -U postgres<br>
psql:test.txt:4: NOTICE: type "histogram2d" is not yet defined<br>
DETAIL: Creating a shell type definition.<br>
psql:test.txt:4: ERROR: could not load library
"/usr/local/postgis-1.3.2/lib/liblwgeom.so": ld.so.1: postgres:
Schwerer Fehler: Verschiebungsfehler: Datei
/usr/local/postgis-1.3.2/lib/liblwgeom.so: Symbol pj_set_searchpath:
referenziertes Symbol nicht gefunden</font><br>
<br>
Google didn´t tell me much about this error. So I´d appreciate, if you
were able to help.<br>
Thanks in advance, best regards,<br>
Chris<br>
</font></font>
</body>
</html>