[Qgis-developer] problem with GRASS 7 when creation a new mapset

Radim Blazek radim.blazek at gmail.com
Wed Nov 18 03:01:04 PST 2015


On Sun, Nov 15, 2015 at 5:51 PM, matteo <matteo.ghetta at gmail.com> wrote:
> Hi Radim,
> sorry, but I found some time only now for testing your suggestions..
>
> Briefly: I didn't compiled GRASS, so it is in the folder /usr/bin/grass70
>
> then I tried to add in the bash script the LD_LIBRARY_PATH for GRASS as
> follows:
>
> export
> GRASS_INSTALL_PREFIX="/home/ma7730/lavori/QGIS/QGIS-Master/buildM/src/plugins/grass/7"
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GRASS_INSTALL_PREFIX
>
> but I'm always getting the same error when trying to create a new mapset:
>
> Impossibile aprire il mapset. Blocco dei mapset fallito (exitStatus=0,
> exitCode=127, errorCode=5, error=Unknown error stdout=,
> stderr=/usr/lib/grass70/etc/lock: error while loading shared libraries:
> libgrass_gis.7.0.1.so: cannot open shared object file: No such file or
> directory
> )

Missing is the path to GRASS libs, try

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin/grass70/lib/

check also if /usr/bin/grass70/lib/libgrass_gis.7.0.1.so exists.

Radim

>
> Don't know how to handle this error and how to configure your GRASS
> plugin..
>
> Sorry for the noise..
>
> Thanks
>
> Matteo


More information about the Qgis-developer mailing list