I am working on a cluster where I do not have sudo permissions. I need to use "gdal". I installed it by compiling from source on a user-defined folder, and then added the path to my user .bash_profile to use this version of gdal instead of the one installed on the cluster for all users (which is an older version). Does someone see where am I failing?
How I installed gdal:
wget http://download.osgeo.org/gdal/2.4.1/gdal241.zip unzip gdal241.zip cd gdal-2.4.1 ./configure --prefix=/home/rjb/jfajardo/gdal241 # I installed gdal in this custom folder; jfajardo is my user make make install export PATH=$PATH://home/rjb/jfajardo/gdal241/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/rjb/jfajardo/gdal241/lib
Then, this is my .bash_profile:
# Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs # R PATH=$PATH:$HOME/bin:/home/rjb/jfajardo/R/R-3.4.4/bin:/home/rjb/jfajardo/gdal241/bin # gdal PATH=$PATH://home/rjb/jfajardo/gdal241/bin PATH=$PATH:$HOME/bin:/home/rjb/jfajardo/gdal241/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/rjb/jfajardo/gdal241/lib