<div dir="ltr">On Mon, Mar 20, 2017 at 11:17 AM, Jörg Habenicht <span dir="ltr"><<a href="mailto:jh@mwerk.net" target="_blank">jh@mwerk.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I need some help setting up a separate path to the qgis plugin libs.<br>
I think the environment variable QGIS_PLUGINPATH or the --configpath<br>
setting is not respected during the run of qgis_mapserv.fcgi?<br>
<br></blockquote><div><br>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.<br><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Background:<br>
I try to setup multiple versions of qgis on our server in parallel.<br>
We need this on our server to run multiple qgis configurations (round<br>
about 30 card configs) on our server. To ease the upgrade testing we<br>
decided to provide an individual qgis version setting for each card.<br>
<br>
This should work as follows:<br>
1) Copy all libraries needed to a separate directory.<br>
2) Run the binary with hints to use the new directory path<br>
LD_LIBRARY_PATH=/usr/local/<wbr>lib/qgis-2.18.4/lib<br>
QGIS_PLUGINPATH=/usr/local/<wbr>lib/qgis-2.18.4/lib<br>
QT_PLUGIN_PATH=/usr/local/lib/<wbr>qgis-2.18.4/lib<br>
/usr/local/lib/qgis-2.18.4/<wbr>bin/qgis_mapserv.fcgi<br>
<br>
<br>
The error:<br>
If I call the fcgi program with LD_DEBUG=files LD_LIBRARY_PATH=...<br>
I get the following message:<br>
calling init: /usr/lib/qgis/plugins/<wbr>libarcgisfeatureserverprovider<wbr>.so<br>
But this is the wrong directory.<br>
<br>
Even though I provided the QGIS plugin path with<br>
QGIS_PLUGINPATH=/usr/local/<wbr>lib/qgis-2.18.4/lib, --configpath<br>
/usr/local/lib/qgis-2.18.4/lib or<br>
--configpath=/usr/local/lib/<wbr>qgis-2.18.4/lib<br>
the lib gets loaded from /usr/lib/qgis/plugins instead of<br>
/usr/local/lib/qgis-2.18.4/lib<br>
<br>
Is this a bug or do I need to use a different variable?<br>
<br>
<br>
Using qgis-2.18.4 on Ubuntu 14.04.4 LTS<br>
<br>
<br>
<br>
best regards<br>
Jörg<br>
<br>
--<br>
<br>
mWerk GmbH<br>
Dipl.-Ing. Jörg Habenicht<br>
Landwehrstr. 76<br>
30519 Hannover<br>
(T) +49 511 9999 8033<br>
(F) +49 511 9999 8041<br>
(E) <a href="mailto:jh@mwerk.net">jh@mwerk.net</a><br>
Amtsgericht Hannover HRB 206522<br>
Geschäftsführer<br>
Reiner Brachvogel<br>
Dennis Kornehl<br>
______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>