I'm having problems installing GDAL on my account on a remote Linux server where I can't use sudo. Ultimately I want to use RStudio and Rgdal, but it looks like I need to install GDAL and PROJ4 first.
I'm not a Linux expert!
Here's what I did: created a directory where I have write privileges got gdal from http://download.osgeo.org/gdal/2.1.2/gdal212.zip with wget ran ./configure --prefix=/path/to/my/directory ran make
This is were I had problems.
~/gdal-2.1.2/.libs/libgdal.so: undefined reference to 'SQLFetchScroll'
~/gdal-2.1.2/.libs/libgdal.so: undefined reference to 'SQLDrivers'
...
And about 50 further undefined references, mainly to SQL functions but also to a few XML and other functions.
setenv LD_LIBRARY_PATH= /path/to/libs
or the equivalent, perhaps?