[Qgis-developer] qgis-2.18.4 denies using QGIS_PLUGINPATH?

Alessandro Pasotti apasotti at gmail.com
Mon Mar 20 03:33:27 PDT 2017


On Mon, Mar 20, 2017 at 11:17 AM, Jörg Habenicht <jh at mwerk.net> wrote:

> Hi all,
>
> I need some help setting up a separate path to the qgis plugin libs.
> I think the environment variable QGIS_PLUGINPATH or the --configpath
> setting is not respected during the run of qgis_mapserv.fcgi?
>
>
QGIS_PLUGINPATH allows to specify a Python plugins path (yes, bad naming,
totally my fault), what you are looking for is probably QGIS_PREFIX_PATH.




>
> Background:
> I try to setup multiple versions of qgis on our server in parallel.
> We need this on our server to run multiple qgis configurations (round
> about 30 card configs) on our server. To ease the upgrade testing we
> decided to provide an individual qgis version setting for each card.
>
> This should work as follows:
> 1) Copy all libraries needed to a separate directory.
> 2) Run the binary with hints to use the new directory path
> LD_LIBRARY_PATH=/usr/local/lib/qgis-2.18.4/lib
> QGIS_PLUGINPATH=/usr/local/lib/qgis-2.18.4/lib
> QT_PLUGIN_PATH=/usr/local/lib/qgis-2.18.4/lib
> /usr/local/lib/qgis-2.18.4/bin/qgis_mapserv.fcgi
>
>
> The error:
> If I call the fcgi program with LD_DEBUG=files LD_LIBRARY_PATH=...
> I get the following message:
> calling init: /usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so
> But this is the wrong directory.
>
> Even though I provided the QGIS plugin path with
> QGIS_PLUGINPATH=/usr/local/lib/qgis-2.18.4/lib, --configpath
> /usr/local/lib/qgis-2.18.4/lib or
> --configpath=/usr/local/lib/qgis-2.18.4/lib
> the lib gets loaded from /usr/lib/qgis/plugins instead of
> /usr/local/lib/qgis-2.18.4/lib
>
> Is this a bug or do I need to use a different variable?
>
>
> Using qgis-2.18.4 on Ubuntu 14.04.4 LTS
>
>
>
> best regards
> Jörg
>
> --
>
> mWerk GmbH
> Dipl.-Ing. Jörg Habenicht
> Landwehrstr. 76
> 30519 Hannover
> (T) +49 511 9999 8033
> (F) +49 511 9999 8041
> (E) jh at mwerk.net
> Amtsgericht Hannover HRB 206522
> Geschäftsführer
> Reiner Brachvogel
> Dennis Kornehl
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer




-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170320/b1b89a93/attachment-0001.html>


More information about the Qgis-developer mailing list