CERN root compiled with Oracle 11?


I’m trying to run script which communicates with Oracle from CERN machines (lxplus). My ROOTSYS is:

when I do:
ldd $ROOTSYS/lib/

I get: => not found => not found => not found => not found => not found => not found => /lib/ (0x00ec2000) => /usr/lib/ (0x00111000) => /lib/tls/ (0x002c7000) => /lib/ (0x00824000) => /lib/tls/ (0x002ea000)
/lib/ (0x00aee000)

so there are 6 not found libraries. In my specific case the script complains about It is because, AFAIK, at cern the Oracle 10.1 is still used, not 11. How could that be corrected?



Dear Mariusz,

Please note that the default lxplus machines are x86_64 machines and you should use the slc4_amd64_gcc34 builds.
Anyhow, if you define correctly the LD_LIBRARY_PATH the missing libs will be found:

lxplus238] ~ > source /afs/
lxplus238] ~ > export LD_LIBRARY_PATH=/afs/$LD_LIBRARY_PATH
lxplus238] ~ > ldd $ROOTSYS/lib/ => /afs/ (0x0000002a95697000) => /afs/ (0x0000002a958ce000) => /afs/ (0x0000002a95b6d000) => /afs/ (0x0000002a98091000) => /afs/ (0x0000002a9828c000) => /afs/ (0x0000002a98bb6000) => /lib64/ (0x0000002a9948e000) => /usr/lib64/ (0x0000002a99591000) => /lib64/tls/ (0x0000002a99781000) => /lib64/ (0x0000002a99908000) => /lib64/tls/ (0x0000002a99a15000) => /afs/ (0x0000002a99c4e000) => /afs/ (0x0000002a99f50000) => /lib64/tls/ (0x0000002a9a318000) => /lib64/ (0x0000002a9a42d000) => /afs/ (0x0000002a9a546000) => /usr/lib64/ (0x0000002a9a647000) => /lib64/ (0x0000002a9a7a3000)
        /lib64/ (0x000000552aaaa000)

To find out where the libraries used to build are, you can check the ‘–with-oracle-libdir’ field in
/afs/ .

G. Ganis