[GRASS-user] GRASS and libgeos 3.1.1/3.3.3
Hamish
hamish_b at yahoo.com
Wed Sep 4 01:35:32 PDT 2013
Gary wrote:
> dpkg -l | grep libgdal
>
> ii libgdal1 1.9.0-3.1ubuntu4 amd64 Geospatial Data
> Abstraction Library
ok, same as me & 13.04,
http://packages.ubuntu.com/search?suite=raring&keywords=libgdal
> rc libgdal1-1.5.0 1.5.4-4 amd64 Geospatial Data
> Abstraction Library
> rc libgdal1-1.6.0 1.6.3-3build2 amd64 Geospatial Data
> Abstraction Library
> rc libgdal1-1.7.0 1.7.3-6ubuntu3 amd64 Geospatial Data
> Abstraction Library
(all removed)
> ldd /usr/lib/grass64/bin/g.proj | grep geos
>
> /usr/lib/grass64/bin/g.proj: /usr/local/lib/libgdal.so.1: no version
> information available (required by /usr/lib/grass64/bin/g.proj)
... /usr/local/lib/libgdal.so.1 ? Did you have a custom installed version
of GDAL in /usr/local? That may be the conflict.
> libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00007fed2e466000)
> libgeos-3.1.1.so => not found
> libgeos-3.3.3.so => /usr/lib/libgeos-3.3.3.so (0x00007fed2b4dc000)
>
> So the problem is with the absense of 3.1.1, any way to tell grass to only
> use 3.3.3?
I think it's actually GDAL which wants GEOS 3.1.1, the problem comes
along to GRASS through there when GRASS loads in GDAL.
> All this happened after upgrading ubuntu and upgrading packages,
I'd heard it prefers fresh installs to in-place upgrades, but I've never
tried it myself.
> I hadn't checked grass for a few months until I came to use it, it
> would be nice to get to my PhD data! I have backed up the mapsets on
> another drive,
I'd be confident that your data is ok, GRASS can be loaded onto any other
computer of opportunity to access it in an emergency.
> I tried completely removing grass and reinstalling but it didnt solve
> the problem.
Look for files related to an old GDAL version in the /usr/local/ dirs.
regards,
Hamish
More information about the grass-user
mailing list