<!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>
libgeos???? -> libgeos???<br>
<br>
Let me know ;-)<br>
<br>
if not<br>
<br>
ldconfig<br>
<br>
make && make install<br>
<br>
<br>
Carles Rubio a écrit :
<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. <br>
<br>
But now I have a new problem. Is the following one: <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>
--prefix)<br>
echo /usr/local/geos<br>
;;<br>
--version)<br>
echo 2.1.4<br>
;;<br>
--cflags)<br>
echo -I/usr/local/geos/include<br>
;;<br>
--libs)<br>
echo -L/usr/local/geos/lib -lgeos<br>
;;<br>
--includes)<br>
echo /usr/local/geos/include<br>
;;<br>
--jtsport)<br>
echo 1.4.1<br>
;;<br>
*)<br>
usage 1 1>&2<br>
;;<br>
esac<br>
</i><br>
Apparently this code refers to that link but then the error mentioned
leaves. <br>
<br>
In the following lines I show you the summary of the .configure:<br>
<br>
<i>SUMMARY<br>
-------------------------------------------------------<br>
<br>
HOST_OS: linux-gnu<br>
<br>
PGSQL: /usr/local/pgsql/bin/pg_config<br>
GEOS: /usr/local/geos/bin/geos-config<br>
(ldflags: )<br>
PROJ: prefix=/usr/local/proj libdir=/usr/local/proj/lib<br>
ICONV: 1<br>
<br>
PORTNAME: linux<br>
PREFIX: /usr/local/pgsql<br>
EPREFIX: ${prefix}<br>
DOC: /usr/local/pgsql/doc/contrib<br>
DATA: /usr/local/pgsql/share/contrib<br>
MAN: /usr/local/pgsql/man<br>
BIN: /usr/local/pgsql/bin<br>
EXT: /usr/local/pgsql/lib (\$$libdir)<br>
-------------------------------------------------------<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>