Tag Info

New answers tagged

1

I'm adding this answer because this topic shows up as a top hit for a similar problem. When we were doing an install using Centos instead of RedHat, we had a similar problem starting. However, instead of missing a library, the error was something along the lines of /root/arcgis/server//framework/runtime/xvfb/Ubuntu/Xvfb: No such file or directory The ...


2

Try the following: #!/bin/bash read -p 'Enter country code: ' EXP echo "exporting data from $EXP" echo ogr2ogr -f GeoJSON export.geojson PG:'dbname=alamedaok user=postgres host=localhost' -sql "SELECT id_alameda, pais, geom FROM poblaciones_def WHERE pais = '$EXP'" Notes: read uses the -p parameter to set the prompt You used backquotes (``) in your SQL ...


2

Bash is particular about the quote characters `, ' and ". Use double quotes to substitute the variable in a string like "wonderful $VAR". Also with Bash, the convention is that variables are upper-case, and I'd avoid using export as a variable name since it is a command for environment variables. Consider these changes: #!/bin/bash read -p "enter country ...


0

Trying to build from source without root access is near impossible on CentOS. I have figured out that really the only practical way to solve this issue is using a conda package (for the Anaconda python distribution) built by Jose The solution is to run this on a fresh install of Anaconda (step three being the important one): conda update conda conda update ...


0

@Evil Genius' answer shows how a program is compiled and thus expects to find compiled information in a certain location. Since you say that you have the HDF libraries in /workspace/HDF, then you can try to set GDAL_DRIVER_PATH: export GDAL_DRIVER_PATH=/workspace/HDF:${GDAL_DRIVER_PATH}. Note that I put your proposed driver first in the path variable. The ...


1

GDAL itself can certainly be built and used/installed without root access on most *nix type systems. In these cases, I usually create a file structure to contain both the final GDAL build itself and all of its dependencies that the host OS doesn't already have. But, you could have them in separate folders as well as long as you have your path, LD_CONFIG, ...



Top 50 recent answers are included