Please provide the following information:
ROOT Version (root_v5.34.36):
MacOS high Sierra 10.13.3 (newest); Xcode Version 8.3.3 (8E3004b)
I’m just a senior undergraduate student (don’t know very much about computer science), working on a high energy physics graduate thesis.
I’ve kind of come to a dead end.
This is the error report:
root [0] .x hist1.C %(just try to draw a basic gauss distribution)
Warning: Automatic variable i is allocated hist1.C:3:
dlopen error: dlopen(/Applications/root_v5.34.36/lib/libRIO.so, 9): can't resolve symbol __ZTVN10__cxxabiv117__class_type_infoE in /Applications/root_v5.34.36/lib/libThread.so because dependent dylib #3 could not be loaded in /Applications/root_v5.34.36/lib/libThread.so
Load Error: Failed to load Dynamic link library /Applications/root_v5.34.36/lib/libRIO.so
Error in <TCint::AutoLoadCallback>: failure loading dependent library libGraf.so for class TCanvas
dlopen error: dlopen(/Applications/root_v5.34.36/lib/libGraf.so, 9): can't resolve symbol __ZTVN10__cxxabiv117__class_type_infoE in /Applications/root_v5.34.36/lib/libThread.so because dependent dylib #3 could not be loaded in /Applications/root_v5.34.36/lib/libThread.so
Load Error: Failed to load Dynamic link library /Applications/root_v5.34.36/lib/libGraf.so
Error in <TCint::AutoLoadCallback>: failure loading library libGpad.so for class TCanvas
dlopen error: dlopen(/Applications/root_v5.34.36/lib/libGpad.so, 9): can't resolve symbol __ZTVN10__cxxabiv117__class_type_infoE in /Applications/root_v5.34.36/lib/libThread.so because dependent dylib #3 could not be loaded in /Applications/root_v5.34.36/lib/libThread.so
Load Error: Failed to load Dynamic link library /Applications/root_v5.34.36/lib/libGpad.so
Error in <TCint::AutoLoadCallback>: failure loading library libGpad.so for class TCanvas
Error: Function MakeDefCanvas() is not defined in current scope (tmpfile):1:
*** Interpreter error recovered ***
*** Break *** segmentation violation
Generating stack trace...
0x000000010bfe4ca0 in G__G__Base2_11_0_15(G__value*, char const*, G__param*, int) (in libCore.so) + 48
0x000000010c3dac9f in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) (in libCint.so) + 63
0x000000010c475e7b in G__execute_call (in libCint.so) + 75
0x000000010c4762ca in G__call_cppfunc (in libCint.so) + 826
0x000000010c44ab8f in G__interpret_func (in libCint.so) + 5759
0x000000010c438dd9 in G__getfunction (in libCint.so) + 5705
0x000000010c54079d in G__getstructmem(int, G__FastAllocString&, char*, int, char*, int*, G__var_array*, int) (in libCint.so) + 4237
0x000000010c536f8d in G__getvariable (in libCint.so) + 8093
Failed to start process notifications for pid 1288 (19)
0x000000010c42cd63 in G__getitem (in libCint.so) + 483
Failed to start process notifications for pid 1288 (19)
0x000000010c428739 in G__getexpr (in libCint.so) + 31033
Failed to start process notifications for pid 1288 (19)
0x000000010c4a59ab in G__exec_statement (in libCint.so) + 16827
Failed to start process notifications for pid 1288 (19)
0x000000010c40f26d in G__exec_tempfile_core(char const*, __sFILE*) (in libCint.so) + 1133
Failed to start process notifications for pid 1288 (19)
0x000000010c40f490 in G__exec_tempfile (in libCint.so) + 16
Failed to start process notifications for pid 1288 (19)
0x000000010c4b727a in G__process_cmd (in libCint.so) + 26858
Failed to start process notifications for pid 1288 (19)
0x000000010bcf3589 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) (in libCore.so) + 873
Failed to start process notifications for pid 1288 (19)
0x000000010bcf3919 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in libCore.so) + 121
Failed to start process notifications for pid 1288 (19)
0x000000010bd40c89 in TApplication::ExecuteFile(char const*, int*, bool) (in libCore.so) + 2329
Failed to start process notifications for pid 1288 (19)
0x000000010bc844a6 in TRint::HandleTermInput() (in libRint.so) + 678
Failed to start process notifications for pid 1288 (19)
0x000000010bd2c218 in TUnixSystem::CheckDescriptors() (in libCore.so) + 328
Failed to start process notifications for pid 1288 (19)
0x000000010bd351dd in TMacOSXSystem::DispatchOneEvent(bool) (in libCore.so) + 429
Failed to start process notifications for pid 1288 (19)
0x000000010bd9e54a in TSystem::InnerLoop() (in libCore.so) + 26
Failed to start process notifications for pid 1288 (19)
0x000000010bd9e39b in TSystem::Run() (in libCore.so) + 203
Failed to start process notifications for pid 1288 (19)
0x000000010bd40ea4 in TApplication::Run(bool) (in libCore.so) + 36
Failed to start process notifications for pid 1288 (19)
0x000000010bc83df5 in TRint::Run(bool) (in libRint.so) + 1429
Failed to start process notifications for pid 1288 (19)
0x000000010ba19e8f in main (in root.exe) + 79
Failed to start process notifications for pid 1288 (19)
0x00007fff6272c115 in start (in libdyld.dylib) + 1
Root >
Just as you’ve guessed, no code previously written could be run.
I used ROOT before quite smoothly (last summer holiday) and I have never been engaged in it ever since. When this problem showed up, since no physics classmates know how to do it, and my professors do not how to do it either. I just used basic variable control: either my something wrong with my ROOT, or my Xcode, or my MacOS.
However, I’ve reinstalled all of them three and failed after all. So I think maybe someone in this forum is kind enough to help me, or at least tries to point out the issue here.
Thank you in advance, sincerely. (Or you can directly e-mail me 2788459110@qq.com)