Then I run root and exectued a macro, this is what I got
root [0] .x test.C(“list.txt”)
dlopen error: libcrypto.so.6: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /home/manuel/root/lib/libNet.so
Error in TCint::AutoLoad: failure loading dependent library libNet.so for class TTree
dlopen error: libcrypto.so.6: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /home/manuel/root/lib/libTree.so
Error in TCint::AutoLoad: failure loading library libTree.so for class TTree
Warning in TClass::TClass: no dictionary for class TBranch is available
Error: Function BIT(10) is not defined in current scope /home/manuel/root/include/TBranch.h:52:
*** Interpreter error recovered ***
How can I fix this? Is there something wrong in the modifying .bashrc or are there any libraries I have to install?
Thank you for your help.
Now I have two questions, just for curiosity’s sake:
I noticed that a single root file is opened with the previous version if I double-click on it, but with the current one if I launch it from command line. Why?
Generally speaking, is it possible to use the previous version, if I would ?
I don’t think it is necessary, since v5.18 is still on my system (contrary to what I supposed) and I can run it from my Application menu.
Instead I find strange what I exposed in the first of my questions.
[quote]Instead I find strange what I exposed in the first of my questions.[/quote]Most likely because the double click action is still associated with the old version of ROOT (I do not use Ubuntu, so can be more specific on how to change the association).
If I were you, i would “completely remove” all standard Ubuntu’s ROOT packages and install a new ROOT version according to my “prescription”.
What concerns “default GUI actions”, they are defined in the “root.mimes” file, residing either in the “–etcdir=…” subdirectory (defaults to “/etc/root”) or in the “${ROOTSYS}/etc” subdirectory, which depends on how ROOT was built. Try: root-config --etcdir/root.mimes
Note: you do not need to modify this system-wide “root.mimes” file, you can simply create your own (copy the original file and then modify it as you like):
$(HOME)/.root.mimes
I’m having the same issues as manuel2. Here is my current error message:
dlopen error: libcrypto.so.6: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /usr/root/lib/libNet.so
Error in TCint::AutoLoad: failure loading dependent library libNet.so for class TTree
dlopen error: libcrypto.so.6: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /usr/root/lib/libTree.so
Error in TCint::AutoLoad: failure loading library libTree.so for class TTree
Warning in TClass::TClass: no dictionary for class TTree is available
Warning in TClass::TClass: no dictionary for class TVirtualIndex is available
Warning in TClass::TClass: no dictionary for class TBranchRef is available
Warning in TClass::TClass: no dictionary for class TBranch is available
Warning in TClass::TClass: no dictionary for class TLeafI is available
Warning in TClass::TClass: no dictionary for class TLeaf is available
Warning in TClass::TClass: no dictionary for class TLeafD is available
Here is are all the actions that have lead me to this point:
Running Ubuntu 10.04
Installed ROOT 5.18 using synaptic (ran successfully)
Downloaded ROOT 5.32.03 binaries
unpacked them in usr/ directory
changed ~/.bashrc
cd /usr/root/bin
. thisroot.sh
ROOT 5.32.03 runs
flopen error libtiff.3 missing
fix problem by linking libtiff.4 and libtiff.3
current problem arises
can only find libcrypto.so (not librcypto.so.6) in usr libraries
here I am
Now, I suppose I could try downloading the source files and installing it according to your prescriptions, but is there a quicker route I could take instead?