<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi list,<br>
hello Mark and Frank,<br>
<br>
thanks for your replies.<br>
I backed out the precompiled proj 4.4.8, compiled the latest version of
proj (4.6.0) from scratch and adapted the LD_LIBRARY_PATH. After that,
I configured and compiled postgis anew with minimal options:<br>
<font face="Courier New, Courier, monospace">./configure \<br>
--with-pgsql=/opt/csw/postgresql/bin/pg_config \<br>
--with-proj=/usr/local/proj-4.6.0 \<br>
--prefix=/usr/local/postgis-1.3.2</font><br>
<br>
Trying to import lwpostgis.sql now throws the following error:<br>
<font face="Courier New, Courier, monospace">#
/opt/csw/postgresql/bin/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: libproj.so.0: Öffnen fehlgeschlagen: Datei oder
Verzeichnis nicht gefunde</font>n<br>
<br>
If I issue ldd against liblwgeom.so, it knows where to find
libproj.so.0:<br>
<font face="Courier New, Courier, monospace"># ldd liblwgeom.so<br>
        libproj.so.0 =>  /usr/local/proj-4.6.0/lib/libproj.so.0<br>
        libgcc_s.so.1 =>         /opt/csw/lib/libgcc_s.so.1<br>
        libm.so.2 =>     /lib/libm.so.2<br>
        libc.so.1 =>     /lib/libc.so.1</font><br>
<br>
I´d really appreciate, if you gave me some hints on what I might be
doing wrong here.<br>
Thanks in advance, best regards,<br>
Chris<br>
</font></font><br>
Frank Warmerdam schrieb:
<blockquote cite="mid:47CD4FF1.2030305@pobox.com" type="cite">Christian
Schaffer wrote:
  <br>
  <blockquote type="cite">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 (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>
  </blockquote>
...
  <br>
  <blockquote type="cite">This is the output:
    <br>
# 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
    <br>
    <br>
Google didn?t tell me much about this error. So I?d appreciate, if you
were able to help.
    <br>
  </blockquote>
  <br>
Chris,
  <br>
  <br>
It appears that pj_searchpath() was added to PROJ.4 in 4.4.9 (back in
2004!)
  <br>
  <br>
I think you will need to either upgrade to a newer PROJ.4 or comment
out this
  <br>
call which may impede finding datum shift files.
  <br>
  <br>
Best regards
</blockquote>
</body>
</html>