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
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to