Hi I just installed root and when I tray to run my script I get this message:
error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory
Any help?
Thank youks_4MeV.cc (24.9 KB)
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
couet
October 23, 2019, 1:49pm
2
There is many posts about that on the forum. May be one of them will answer your question.
You can search “error while loading shared libraries: libCore.so” .
Your macro looks fine. But we cannot run it because of the missing data.
couet
October 24, 2019, 10:23am
4
I do not see such error. Which root version are you using ? on which machine ? have you installed ROOT yourself ?
papagaj
October 24, 2019, 11:53am
5
Root is version 6 on Ubuntu 18.04. I just installed root…
couet
October 25, 2019, 6:52am
6
papagaj:
I just installed root…
For the sources of you downloaded a pre-installed binary ?
I installed source distribution
couet
October 25, 2019, 8:39am
8
So I guess that in $ROOTSYS/lib/
libCore.so is missing ? which cmake
options did you use ?
May be @amadio can help.
mkdir build
cd build
cmake …/root
make -j8
Search for “thisroot” in “Building ROOT ” and / or “Downloading ROOT ” web pages.
papagaj
October 25, 2019, 10:03am
11
when I type:
source /root/bin/thisroot.sh
I get:
bash: /root/bin/thisroot.sh: Permission denied
couet
October 25, 2019, 11:09am
12
cd build
source bin/thisroot.sh
papagaj
October 25, 2019, 11:58am
13
Oh, yes, stupid mistake; I had one “/” more.
Thank you
papagaj
October 25, 2019, 12:27pm
14
Now when I tray to read a root file with I get this message: input_line_15:2:3: error: use of undeclared identifier ‘run1’
(run1.Drav(“e1x>>hsqrt(100,0,50):e2x”))
^
Error in : Error evaluating expression (run1.Drav(“e1x>>hsqrt(100,0,50):e2x”)).
Execution of your code was aborted.
couet
October 25, 2019, 12:47pm
15
We will need a reproducer to help you further.
system
Closed
November 8, 2019, 12:50pm
16
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.