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

Radim Blazek radim.blazek at gmail.com
Thu Oct 22 08:02:39 PDT 2015


On Thu, Oct 22, 2015 at 3:18 PM, matteo <matteo.ghetta at gmail.com> wrote:
> Hi Radim,
> thanks for the reply..
>
>> You are running qgis from build (src in this case) dir? Try to install
>> qgis and run it from installation target dir. You will have to add
>> path to grass libs to LD_LIBRARY_PATH.
>
> yes.. I run QGIS from build
> (/home/ma7730/lavori/QGIS/QGIS-Master/buildM/output)
>
> in the bash script I use to launch QGIS, the LD_LIBRARY_PATH is already
> specified:
>
>
> #!/bin/bash
> export
> QGIS_INSTALL_PREFIX="/home/ma7730/lavori/QGIS/QGIS-Master/buildM/output"
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QGIS_INSTALL_PREFIX/lib
> export PYTHONPATH=$QGIS_INSTALL_PREFIX/python/qgis
> export PYTHONPATH=$PYTHONPATH:/home/$USER/.qgis2/python/plugins
> export QGIS_DEBUG=3
> #export QGIS_LOG_FILE=./qgis.log
>
> $QGIS_INSTALL_PREFIX/bin/qgis $@
>
> isn't this enough? Should I specify a different path for GRASS?

Here you add only path to QGIS libs, if path to GRASS libs is not
already in LD_LIBRARY_PATH, you must add it also.

Radim


More information about the Qgis-developer mailing list