RE: [ROOT] relocation error

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Nov 01 2002 - 19:38:29 MET


Hi Thomas,

Somewhere in the oracle distribution, there is a library which defines the
symbol 'sqlorat' (and you are likely to be already linking against it when
you compile the macro).

You need either explicitly load this library into the root executable or
link it as part of your own shared libary (libOra.so I suspect)

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Thomas Eberl
Sent: Friday, November 01, 2002 12:00 PM
To: roottalk@pcroot.cern.ch; Thomas Eberl
Subject: [ROOT] relocation error


Hi,

I am using ROOT 303-09 and a Oracle DB installation 8.1.7.3 under RH
7.3.
I have a shared library that allows to connect to a Oracle server and
which I load into CINT.
The class definition (.class ...) is visible after loading and I can
create a object of my class. Once I call a member function that executes
code accessing Oracle-supplied shared libs, I get the message:

root [1] HParOraIo* input=new HParOraIo;
root [2] input->open();
/usr/local/root/303-09/bin/root.exe: relocation error:
/home/teberl/hades/hydra/dev/lib/libOra.so: undefined symbol: sqlorat

This symbol can be found in libtclnsh... in the lib dir that comes with
the Oracle product.
The paths to the relevant libraries are in my LD_LIBRARY_PATH variable !

When I compile the macro, it executes w/o problems,

 i.e. I have a working Oracle client installation, and all variables
(that I know of) set correctly !?!

What goes still wrong ?

Thanks
--


	Thomas.Eberl@ph.tum.de



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET