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

Jörg Habenicht jh at mwerk.net
Mon Mar 20 03:48:15 PDT 2017


Hello Alessandro,

thank you for the fast answer,
but..

Am 20.03.2017 um 11:33 schrieb Alessandro Pasotti:
> On Mon, Mar 20, 2017 at 11:17 AM, Jörg Habenicht <jh at mwerk.net
> <mailto: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.

I have tried this, but the behaviour hasn't changed:

nohup bash -c "LD_DEBUG=files
LD_LIBRARY_PATH=/usr/local/lib/qgis-2.18.4/lib
QGIS_PLUGINPATH=/usr/local/lib/qgis-2.18.4/lib
QGIS_PREFIX_PATH=/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"

# grep /usr/lib/qgis nohup.out | grep -A1 libarcgisfeatureserverprovider.so
     23672:
file=/usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so [0];
dynamically loaded by /usr/local/lib/qgis-2.18.4/lib/libQtCore.so.4 [0]
     23672:
file=/usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so [0];
generating link map
     23672:     file=libqjson.so.0 [0];  needed by
/usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so [0]
     23672:     calling init:
/usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so
     23672:     opening
file=/usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so [0];
direct_opencount=1
     23672:     /usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so:
error: symbol lookup error: undefined symbol: type (fatal)
     23672:     /usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so:
error: symbol lookup error: undefined symbol: databaseDrivers (fatal)
     23672:     /usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so:
error: symbol lookup error: undefined symbol: directoryDrivers (fatal)
     23672:     /usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so:
error: symbol lookup error: undefined symbol: protocolDrivers (fatal)
     23672:     /usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so:
error: symbol lookup error: undefined symbol: fileVectorFilters (fatal)
     23672:     /usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so:
error: symbol lookup error: undefined symbol:
buildSupportedRasterFileFilter (fatal)
     23672:     file=/usr/lib/qgis/plugins/libarcgismapserverprovider.so
[0];  dynamically loaded by
/usr/local/lib/qgis-2.18.4/lib/libQtCore.so.4 [0]
--
     23672:     calling fini:
/usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so [0]
     23672:     calling fini:
/usr/lib/qgis/plugins/libarcgismapserverprovider.so [0]





There are 20 libs or plugins called from /usr/lib/qgis/plugins/

# grep /usr/lib/qgis/plugins/ nohup.out | grep "calling init" | wc -l
20






> 
>     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.
> 
[...]
>     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


More information about the Qgis-developer mailing list