Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Building GDAL with geoRaster support in Linux

638296Sep 13 2010 — edited Oct 25 2012
Please 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

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 22 2012
Added on Sep 13 2010
14 comments
4,525 views