You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

How to build the Oracle libraries for ROOT

The library needed to access Oracle from within ROOT needs to be remade each time we change either the version of ROOT or the version of Oracle. It is fairly straightforward to do this.

1. Download the OracleRoot code from SASDC:here.

2. Unpack the tar file into a directory
tar xvzf OracleRoot.tar.gz

3. Set ROOTSYS to point at the root version you wish to build the oracle library against. Set ORACLE_HOME to point at your Oracle installation, at SLAC this is usually /usr/oracle to pick up the default version.

4. make the dictionary
make oracledict.o

5. make the library
make all

6. Copy the library to the ROOT distribution
cp libOracle.so $ROOTSYS/lib

7. You are done.

  • No labels