Building GDAL with geoRaster support in Linux
638296Sep 13 2010 — edited Oct 25 2012Please forgive me if this has been posted before (I did search but did not find a match) or if considered off topic.
In the past I have only used GDAL + Oracle instant client + GeoRaster on the Windows platform. I’m looking to run it on Linux but have spent hours trying to build it... and it seems to be a straightforward process. (note I am trying to build on Ubuntu but will also be doing the same on RedHat based system). Using GDAL 1.7.2 and Oracle instant client 11.2
** Downloaded:
instantclient-basic-linux32-11.2.0.1.zip
instantclient-sdk-linux32-11.2.0.1.zip
instantclient-sqlplus-linux32-11.2.0.1.zip
and unzipped these.
** Set the following environment variables:
LD_LIBRARY_PATH=/home/matt/instantclient_11_2
ORACLE_HOME=/home/matt/instantclient_11_2
NLS_LANG=American_America.WE8ISO8859P1
** created symbolic links:
ln -s libclntsh.so.11.1 libclntsh.so
ln -s libocci.so.11.1 libocci.so
** run the ./configure script in GDAL directory from command line:
matt@bandicoot:~/gdal-1.7.2$ ./configure with-oci=/home/matt/instantclient_11_2 with-oci-include=/home/matt/instantclient_11_2/sdk/include --with-oci-lib=/home/matt/instantclient_11_2
Am I missing something?
Cheers,
MH