Hi,
I need to hit an external oracle DB from ROOT.
I’m trying to do TSQLServer *myDB = TSQLServer::Connect(“oracle://devdb10.cern.ch”, “username”, “pw”);
I get the follwing error:
root [0] .x dbTest.C
Error in : Oracle[.so | .sl | .dl | .a |
.dll] does not exist in
.:/raiddata2/d0usr/products/root/Linux-2-4/v4_04_02b_fbits_eh-GCC_3_4_3–opt/lib:/raiddata2/d0usr/products/root/Linux-2-4/v4_04_02b_fbits_eh-GCC_3_4_3–opt/lib:/raiddata2/d0usr/products/mesa/Linux-2-4/v6.0.1-gcc3_4_3_dzero–rh7_1/lib:/raiddata2/d0usr/products/iguana/Linux-2-4/v4.2.4f5-gcc3_4_3_dzero–rh7_1/lib/Linux__2.4:/raiddata2/d0usr/products/coin/Linux-2-4/v2.3.0-gcc3_4_3_dzero–rh7_1/lib:/raiddata2/d0usr/products/qt/Linux-2-4/v3.3.3-gcc3_4_3_dzero–rh7_1/lib:/fnal/ups/prd/sam_cpp_api/Linux-2-4/v7_2_1-GCC-3-4-3/lib/so:/fnal/ups/prd/omniORB/Linux-2-4/v3_0_4-GCC-3-1-PYTHON-2-1/lib:/fnal/ups/prd/orbacus/Linux-2-4/v3_3_4p3-GCC-3-4-2/lib:/raiddata2/d0usr/products/xerces/Linux-2/v1_5_1_eh-gcc342/lib:/raiddata2/d0usr/products/ace/Linux-2/v5_1_17a_eh-gcc342/ACE_wrappers/build/Linux2.4-GCC_3_4_2/ace:/raiddata2/d0usr/products/root/Linux-2-4/v4_04_02b_fbits_eh-GCC_3_4_3–opt/lib:/raiddata2/d0usr/products/cern/Linux-2-4/2000_eh-gcc342/lib:/raiddata2/d0usr/products/blt/Linux-2/v2_4z!
_eh-gcc342/lib:/raiddata2/d0usr/products/runtime/Linux-2-4/v1_1-glibc_2_2_4/usr/lib:./lib/Linux2.4-GCC_3_4:./shlib/Linux2.4-GCC_3_4:/raiddata2/d0dist/dist/releases/p17.09.06/lib/Linux2.4-GCC_3_4:/raiddata2/d0dist/dist/releases/p17.09.06/shlib/Linux2.4-GCC_3_4:/raiddata2/fnal/ups/prd/vdt/Linux/v1_1_14_11/globus/lib:/home/mkoms/root_stuff/package/instantclient_10_2
Error: Function dbTest() is not defined in current scope FILE: LINE:0
Possible candidates are…
filename line:size busy function type and name
*** Interpreter error recovered ***
This is after I downloaded the Basic and SDK Instant Client packages from oracle.com/technology/tech/o … index.html
, unzipped them into a directory, and pointed my $LD_LIBRARY_PATH to that directory.
I’m running ROOT 4.04/02b
What am I doing wrong?
Thank you very much,
Mikhail