[postgis-users] Problem compiling postgis 1.1.3 #2
TECHER David
davidtecher at yahoo.fr
Fri Sep 8 18:01:27 PDT 2006
Hi Carles
I'm not sure this is the solution
but did U run
ldconfig -v | grep libgeos
did U get something like
libgeos???? -> libgeos???
Let me know ;-)
if not
ldconfig
make && make install
Carles Rubio a écrit :
> 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
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
--
--david;
http://www.postgis.fr
http://www.davidgis.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060909/9c308780/attachment.html>
More information about the postgis-users
mailing list