[postgis-users] Postgis 2.0 installation Problem - "undefined reference to `GEOSGeom_createEmptyPolygon'"

Sandro Santilli strk at keybit.net
Thu Apr 26 02:27:06 PDT 2012


On Wed, Apr 25, 2012 at 11:09:10PM +0100, Alexandre Neto wrote:

> undefined reference to `GEOSGeom_createEmptyPolygon'
...
> Something to do with more than one GEOS installed
> 
> The presented solution would be to change the order of  "-L/usr/lib
> -lgdal1.8.0" and "-L/usr/local/lib
>  -lgeos_c" in the makefile.
> 
> But in witch makefile?

That solution is not very friendly, and more aimed at finding a solution
in the PostGIS build scripts themselves than at solving your problem.

Easier solution would be to keep a single GEOS around.
You might have to fight your package manager, but that's the price to
pay for freedom (don't let you package manager rule your machine!).

--strk;

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'




More information about the postgis-users mailing list