[postgis-users] Problem compiling postgis 1.1.3 #2
Carles Rubio
carlos at consulting-it.com
Fri Sep 8 03:39:25 PDT 2006
Thanks to all by your help,
The previous problem is solved in the follow sources:
lwgeom/lwgeom_chip.c
lwgeom/lwgeom_dump.c
Just as it commented Michael and --strk .. etc. if we declare the
variable at first of the function the script compiles perfectly.
But now I have a new problem. Is the following one:
//usr/bin/ld: cannot find -lgeos
collect2: ld returned 1 exit status
make[1]: *** [liblwgeom.so.1.1] Error 1
/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:
/case $1 in
--prefix)
echo /usr/local/geos
;;
--version)
echo 2.1.4
;;
--cflags)
echo -I/usr/local/geos/include
;;
--libs)
echo -L/usr/local/geos/lib -lgeos
;;
--includes)
echo /usr/local/geos/include
;;
--jtsport)
echo 1.4.1
;;
*)
usage 1 1>&2
;;
esac
/
Apparently this code refers to that link but then the error mentioned
leaves.
In the following lines I show you the summary of the .configure:
/SUMMARY
-------------------------------------------------------
HOST_OS: linux-gnu
PGSQL: /usr/local/pgsql/bin/pg_config
GEOS: /usr/local/geos/bin/geos-config
(ldflags: )
PROJ: prefix=/usr/local/proj libdir=/usr/local/proj/lib
ICONV: 1
PORTNAME: linux
PREFIX: /usr/local/pgsql
EPREFIX: ${prefix}
DOC: /usr/local/pgsql/doc/contrib
DATA: /usr/local/pgsql/share/contrib
MAN: /usr/local/pgsql/man
BIN: /usr/local/pgsql/bin
EXT: /usr/local/pgsql/lib (\$$libdir)
-------------------------------------------------------
/
Thanks in advance
Carles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060908/1dab1575/attachment.html>
More information about the postgis-users
mailing list