[QGIS-Developer] QGISServer: how to find out shared lib path for qgis_mapserv.fcgi
Richard Duivenvoorde
rdmailings at duif.net
Wed Oct 31 15:10:43 PDT 2018
Hi,
Compiling QGIS + server on a custom Debian machine here, install in my
local dir, make the install dir group www-data.
Put qgis_mapserv.fcgi in /usr/lib/cgi-bin
Testing an url I get ing logs:
/usr/lib/cgi-bin/qgis_mapserv.fcgi: error while loading shared
libraries: libqgis_server.so.3.5.0: cannot open shared object file: No
such file or directory
It IS working if I copy all the .so files to /usr/lib
BUT I thought I could instruct qgis/fcgi to use a custom, by using
something like below in my apache config (was not sure which one to use,
so used both):
FcgidInitialEnv
LD_LIBRARY_PATH="/usr/lib:/usr/local/lib:/home/richard/bin/qgis/master/debug/lib"
SetEnv
LD_LIBRARY_PATH="/usr/lib:/usr/local/lib:/home/richard/bin/qgis/master/debug/lib"
This is not working, any fcgi guru has a hint?
Regards,
Richard Duivenvoorde
More information about the QGIS-Developer
mailing list