Dear All,
Last week I’ve made a script to read file and save the data in a TTree on root 5.34/36. That worked fine and now I need to run the same script on a computer with root 6.06/08 and it gives an error when I load and compile it:
root -v
-------------------------------------------------------------------------
| Welcome to ROOT 6.06/08 http://root.cern.ch |
| (c) 1995-2016, The ROOT Team |
| Built for linuxx8664gcc |
| From heads/v6-06-00-patches@v6-06-06-30-g3bae07b, Sep 09 2016, 04:52:00 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
-------------------------------------------------------------------------
root [0] .L deelen_analizer_SN.cc+
Info in <TUnixSystem::ACLiC>: creating shared library /home/snData/./deelen_analizer_SN_cc.so
cling::DynamicLibraryManager::loadLibrary(): /home/snData/deelen_analizer_SN_cc.so: failed to map segment from shared object: Operation not permitted
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
root [1] .L deelen_analizer_SN.cc+
cling::DynamicLibraryManager::loadLibrary(): /home/snData/deelen_analizer_SN_cc.so: failed to map segment from shared object: Operation not permitted
root [2]
As you can see when I compile it twice, one of the problems disappears.
I don’t understand what’s going on here and I’m afraid I can’t find a solution online… Maybe someone here knows what I’m doing wrong?
Thanks in advance,
Nikkie