Le 26/02/2012 23:00, Jon Burgess a écrit :
On Sun, 2012-02-26 at 18:31 +0100, yvecai wrote:
I use ubuntu 10.04, postgresql 8.4.10, postgis 2.0, libgeos 3.2.2.
Find here the complete osm2pgsql install and output:
http://www.pistes-nordiques.org/download/osm2pgsql.out
A while back there were a few reports of a similar issue and it turned
out to be due to having multiple versions of Geos installed. I think the
root cause was that the code compiled using the headers from one library
version but then linked against a different one. This only effects the
part of osm2pgsql which uses geos to build the relation geometries.
There are some signs in your compile logs which suggest you have a
locally compiled version of Geos in /usr/local so you may have hit the
same issue.
If you want to be sure you compile using your copy in /usr/local then
try removing the system libgeos-dev package and rebuild osm2pgsql.
Jon
Sorry it was meant to the list:
I removed libgeos-dev, but no cigar. Then I removed everything and
installed back libgeos 3.2.2 from ubuntu-gis ppa, then rebuild
osm2pgsql, still no relations.
Then I installed osm2pgsql 0.66 from ubuntu repo and it works.
Any luck to have an up to date osm2pgsql in next Ubuntu LTS ?
At last, I rebuild postgis 2.0, geos 3.2.3, and osm2pgsql 0.80,
everything with checkinstall in the hope to stay 'clean', and it works.
Yves
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev