hamish_b at yahoo.com
Mon Feb 17 11:33:36 PST 2014
> I'm trying to do a simple dissolve on a vector map and getting a
> library error
> v.dissolve inp=vmap out=dom_mid_60 column=dom_mid_60
> . . .
> . . .
> v.extract: error while loading shared libraries:
> libgrass_gmath.6.4.2.so: cannot open shared object file: No such file or
> ls -l /usr/local/grass-6.4.2/lib
> -rwxr-xr-x. 1 root root 77615 Dec 21 2012 libgrass_gmath.6.4.2.so
> lrwxrwxrwx. 1 root root 23 Dec 21 2012 libgrass_gmath.so ->
> just as I would expect, with read and execute permissions.
> Oddly, I'm running GRASS 6.4.3, but all the libraries are 6.4.2. This
> is on Scientific Linux 6 (derived from RedHat Enterprise linux 6).
GRASS> g.version -r
GRASS> echo $GISBASE
GRASS> echo $GRASS_LD_LIBRARY_PATH
GRASS> ls $GISBASE/lib
GRASS> echo $LD_LIBRARY_PATH
that should show you where the grass install is located.
It's usually fine to have many versions of GRASS installed
at the same time, they can all run self-contained.
--> you might check if the 6.4.2 install is listed in /etc/ld.so.conf
or /etc/ld.so.conf.d/*, if so change it to the location of the 6.4.3
libraries and re-run `ldconfig` (as root).
More information about the grass-user