I have recently updated Ubuntu to 13.04, now I find when I open grass and
select a mapset I get the following errors:
Error 1
g.proj or projection error... ...libgeos-3.1.1.so: cannot open...
Error 2
Error setting region...
Error 3
same as error 1
So I think the problem is that I have libgeos-3.3.3.so not libgeos-3.1.1.so
So I guess two solutions, either install libgeos-3.1.1 or correct grass to
search for 3.3.3.
I have recently updated Ubuntu to 13.04, now I find when I open grass and
select a mapset I get the following errors:
Error 1
g.proj or projection error... ...libgeos-3.1.1.so: cannot open...
Error 2
Error setting region...
Error 3
same as error 1
So I think the problem is that I have libgeos-3.3.3.so not libgeos-3.1.1.so
So I guess two solutions, either install libgeos-3.1.1 or correct grass to
search for 3.3.3.
How would/should I do this?
where did you get your GRASS package from? UbuntuGIS?
working here with the stock 6.4.2-2build1 ubuntu grass package on Mint 15
(aka ubu 13.04) all's ok. (but that doesn't depend on geos at all- too old)
if the ubuntuGIS package please file a bug on their PPA or post to ubuntu at
lists.osgeo.org asking for a rebuild.
have a look at available dependencies & versions with:
ii libgdal1 1.9.0-3.1ubuntu4 amd64 Geospatial Data
Abstraction Library
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
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)
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?
All this happened after upgrading ubuntu and upgrading packages, 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 tried
completely removing grass and reinstalling but it didnt solve the problem.
Thanks for your help
I had the problem with Grass in 12.10, so I upgraded to 13.04 using the
do-release-upgrade -d
the -d has caused it to use the development version! But as GRASS had the
same problem with 12.10 this shouldnt be the source of the main problem, is
there anyway to revert to the 1.9.0-3.1ubuntu1?
the -d has caused it to use the development version! But as GRASS had the
same problem with 12.10 this shouldnt be the source of the main problem, is
there anyway to revert to the 1.9.0-3.1ubuntu1?
I suspect the immediate problem is the extra+outdated GDAL version in
/usr/local/. It would be strange if a newer version of the GDAL ubuntu
package were depending on an older version of GEOS, right?
In addition, I don't see GEOS 3.1.1 available in any of the recent
ubuntu versions, so suspect the /usr/local/ custom installed version
is to blame for the bulk of the trouble. http://packages.ubuntu.com/search?keywords=libgeos
You can use "ldd" on the libraries found with:
$ locate libgdal | grep '\.so'
to verify which one(s) are looking for libgeos 3.1.1.