| 53 | These steps worked for me on a Fedora system: |
| 54 | |
| 55 | 1.) download the 3 files related to oracle instant client: |
| 56 | instantclient-basic-linux32-11.2.0.1.zip |
| 57 | instantclient-sqlplus-linux32-11.2.0.1.zip |
| 58 | instantclient-sdk-linux32-11.2.0.1.zip |
| 59 | |
| 60 | 2.) unzip to a user location, e.g. /home/matt/instantclient_11_2 |
| 61 | |
| 62 | 3.) export ORACLE_HOME=/home/matt/instantclient_11_2 |
| 63 | |
| 64 | 4.) export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/matt/instantclient_11_2 |
| 65 | |
| 66 | 5.) export PATH=$PATH:$ORACLE_HOME |
| 67 | |
| 68 | 6.) export NLS_LANG=American.America.WE8ISO8859P1 (this may not be essential) |
| 69 | |
| 70 | 7.) create symbolic links: |
| 71 | ln -s libclntsh.so.11.1 libclntsh.so |
| 72 | ln -s libocci.so.11.1 libocci.so |
| 73 | |
| 74 | 8.) run the configure script (from your GDAL directory, e.g. /home/matt/gdal-1.7.2): |
| 75 | ./configure --with-oci-include=/home/matt/instantclient_11_2/sdk/include --with-oci-lib=/home/matt/instantclient_11_2 |
| 76 | |
| 77 | 9.) run "make" from the same GDAL directory: |
| 78 | make |
| 79 | |
| 80 | 10.) su |
| 81 | Password: ******** |
| 82 | |
| 83 | 11.) make install |
| 84 | |
| 85 | 12.) exit (no ne |