<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Carles<br>
<br>
I'm not sure this is the solution<br>
<br>
but did U run <br>
<br>
ldconfig -v | grep libgeos<br>
<br>
did U get something like<br>
<br>
&nbsp; libgeos???? -&gt; libgeos???<br>
<br>
Let me know ;-)<br>
<br>
if not<br>
<br>
ldconfig<br>
<br>
make &amp;&amp; make install<br>
<br>
<br>
Carles Rubio a &eacute;crit&nbsp;:
<blockquote cite="mid4501485D.6050307@consulting-it.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Thanks to all by your help, <br>
  <br>
The previous problem is solved in the follow sources:<br>
lwgeom/lwgeom_chip.c<br>
lwgeom/lwgeom_dump.c<br>
Just as it commented Michael and --strk .. etc. if we declare the
variable at first of the function the script compiles perfectly.&nbsp; <br>
  <br>
But now I have a new problem. Is the following one:&nbsp; <br>
  <i>/usr/bin/ld: cannot find -lgeos<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [liblwgeom.so.1.1] Error 1<br>
  <br>
  </i>I look the file /etc/ld.so.conf and exist a line with
'/usr/local/geos/lib' also in the .configure exist the command
'--with-geos=/usr/local/geos/bin/geos-config' then I have looked this
file and there is this portion of code: <br>
  <br>
  <i>case $1 in<br>
&nbsp;&nbsp;&nbsp; --prefix)<br>
&nbsp;&nbsp;&nbsp; echo /usr/local/geos<br>
&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>
&nbsp;&nbsp;&nbsp; --version)<br>
&nbsp;&nbsp;&nbsp; echo 2.1.4<br>
&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>
&nbsp;&nbsp;&nbsp; --cflags)<br>
&nbsp;&nbsp;&nbsp; echo -I/usr/local/geos/include<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>
&nbsp;&nbsp;&nbsp; --libs)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo -L/usr/local/geos/lib -lgeos<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>
&nbsp;&nbsp;&nbsp; --includes)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo /usr/local/geos/include<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>
&nbsp;&nbsp;&nbsp; --jtsport)<br>
&nbsp;&nbsp;&nbsp; echo 1.4.1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>
&nbsp;&nbsp;&nbsp; *)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; usage 1 1&gt;&amp;2<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>
&nbsp; esac<br>
  </i><br>
Apparently this code refers to that link but then the error mentioned
leaves.&nbsp; <br>
  <br>
In the following lines I show you the summary of the .configure:<br>
  <br>
  <i>SUMMARY<br>
&nbsp;-------------------------------------------------------<br>
  <br>
&nbsp;HOST_OS: linux-gnu<br>
  <br>
&nbsp;&nbsp; PGSQL: /usr/local/pgsql/bin/pg_config<br>
&nbsp;&nbsp;&nbsp; GEOS: /usr/local/geos/bin/geos-config<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (ldflags: )<br>
&nbsp;&nbsp;&nbsp; PROJ: prefix=/usr/local/proj libdir=/usr/local/proj/lib<br>
&nbsp;&nbsp; ICONV: 1<br>
  <br>
&nbsp;PORTNAME: linux<br>
&nbsp;&nbsp; PREFIX: /usr/local/pgsql<br>
&nbsp; EPREFIX: ${prefix}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DOC: /usr/local/pgsql/doc/contrib<br>
&nbsp;&nbsp;&nbsp;&nbsp; DATA: /usr/local/pgsql/share/contrib<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAN: /usr/local/pgsql/man<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BIN: /usr/local/pgsql/bin<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXT: /usr/local/pgsql/lib (\$$libdir)<br>
&nbsp;-------------------------------------------------------<br>
  </i><br>
Thanks in advance<br>
Carles<br>
  <br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
--david;
<a class="moz-txt-link-freetext" href="http://www.postgis.fr">http://www.postgis.fr</a>
<a class="moz-txt-link-freetext" href="http://www.davidgis.fr">http://www.davidgis.fr</a>
</pre>
</body>
</html>