Sim, isso funcionou, usando export
:
PATH=/bin:/usr/bin:/sbin:/usr/sbin
export GDAL_DATA=/mnt/gdal/gdal-data
export LD_LIBRARY_PATH=/mnt/gdal
NAME=tomcat7
DESC="Tomcat servlet engine"
....
Estou tentando instalar uma extensão para o GeoServer. As instruções dizem:
Create a GDAL_DATA environment variable to the folder where you have extracted this file. Make also sure that this directory is reachable and readable by the application server process’s user.
e mais tarde (para um arquivo diferente):
If you are on Linux, be sure to set the LD_LIBRARY_PATH environment variable to refer to the folder where the SOs are extracted.
Não tenho certeza de onde definir essas variáveis. Em /etc/init.d/tomcat7
talvez?
Sim, isso funcionou, usando export
:
PATH=/bin:/usr/bin:/sbin:/usr/sbin
export GDAL_DATA=/mnt/gdal/gdal-data
export LD_LIBRARY_PATH=/mnt/gdal
NAME=tomcat7
DESC="Tomcat servlet engine"
....