Ok, so I think that I have got some things rolling. Here is the questions though. When I tried to use the TSQLServer I got an error…
[code]
root [0] TSQLServer *myDB = TSQLServer::Connect(“oracle://devdb10.cern.ch”, “username”, “pw”);
dlopen error: /raiddata2/localpackages/instantclient/NULL/10.2/libocci.so.10.1: undefined symbol: OCIPGetErrorMessage
Load Error: Failed to load Dynamic link library /raiddata2/localpackages/root/Linux-2-4/v5_13_01/lib/libOracle.so
*** Interpreter error recovered ***
[\code]
I did some investigating and found that the method it is looking for is in the libclntsh.so.10.1 library. I then renamed it (well, symlinked) it to libclntsh.so and tried to load it in root. I then reran the above call and got much further.
[code]
root [1] gSystem.Load(“libclntsh”)
(int)0
[\code]
[code]
root [2] TSQLServer *myDB = TSQLServer::Connect(“oracle://devdb10.cern.ch”, “username”, “pw”);
Error in : class TOracleServer not found in plugin Oracle
[\code]
So the question is, why do I have to manually load the libclntsh library in order to us the Oracle stuff? Should the libocci lib not be linked against this?
Justace[/code]