Oracle library

Hi,

I’m trying to connect Oracle database using root libraries. But I’m not reaching the dynamic links.


dlopen error:
/afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root//lib/libOracle.so: undefined symbol: ZNK7TObject6SaveAsEPKcS1
Load Error: Failed to load Dynamic link library /afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root//lib/libOracle.so
There was an error and it was not possible to connect Oracle

I’m using the following environment:
##Root
export ROOTSYS="/afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root/"
export PATH=$PATH:$ROOTSYS/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib

env |grep -i root

PATH=/afs/cern.ch/project/oracle/@sys/10201/bin:/afs/cern.ch/user/t/tiledcs/bin:/afs/cern.ch/user/t/tiledcs/scripts:/usr/sue/bin:/afs/cern.ch/atlas/@sys/bin:/afs/cern.ch/atlas/scripts:/usr/local/bin:/usr/local/bin/X11:/usr/bin:/bin:/usr/bin/X11:/cern/pro/bin:/usr/kerberos/bin:/afs/cern.ch/sw/lcg/external/root/5.13.04/slc3_ia32_gcc323/root/bin:/usr/X11R6/bin:::/afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root/bin:/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc4_ia32_gcc345/root/bin:/afs/cern.ch/sw/lcg/external/root/5.16.00/slc4_ia32_gcc34/root/bin:/afs/cern.ch/sw/lcg/external/root/5.16.00/slc4_ia32_gcc34/root//bin:/afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root//bin
LD_LIBRARY_PATH=/afs/cern.ch/project/oracle/@sys/10201/lib:/afs/cern.ch/sw/lcg/external/root/5.13.04/slc3_ia32_gcc323/root/lib:/afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root/lib:/afs/cern.ch/sw/lcg/external/oracle/10.2.0.2/slc4_ia32_gcc345/root/lib:/afs/cern.ch/sw/lcg/external/root/5.16.00/slc4_ia32_gcc34/root/lib:/afs/cern.ch/sw/lcg/external/root/5.16.00/slc4_ia32_gcc34/root//lib:/afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root//lib
ROOTSYS=/afs/cern.ch/sw/lcg/external/root/5.14.00/slc4_ia32_gcc34/root/
CERN_ROOT=/cern/pro
ROOTPATH=/usr/bin:/bin:/usr/bin/X11

uname -a
Linux pcata0022.cern.ch 2.6.9-55.EL.cern #1 Thu May 10 17:42:26 CEST 2007 i686 athlon i386 GNU/Linux
cat /etc/redhat-release
Scientific Linux CERN SLC release 4.5 (Beryllium)
g++ -v
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)

How do I solve this problem?

Hi,

There was a problem with this version of ROOT and Oracle…
This has been solved in the last patch release.
Could you try with ROOT version 5.14.00f and Oracle 10.2.0.3 ?

Cheers,
Bertrand.

It seems to work…
I’ll make some tests and if I have some problem… I’ll post back

Cheers