ROOT 5.32.03 not working in Mac OS X 10.7.4

Hi,

I just installed ROOT 5.32.03 on my Mac (running 10.7.4). Only problem: It does not work. :wink:

I used the Mac OS X 10.7 x86-64 with clang v3, version 5.32.03 version.

Starting root works fine but trying to do something in CINT instantly fails:

[code]$ root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.32/03 9 May 2012 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.32/03 (branches/v5-32-00-patches@44286, May 25 2012, 16:11:27 on macosx64)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TBrowser sd
dlopen error: dlopen(/usr/local/root/lib/libGraf.so, 9): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /usr/local/root/lib/libGraf.so
Reason: image not found
Load Error: Failed to load Dynamic link library /usr/local/root/lib/libGraf.so
Error in TCint::AutoLoad: failure loading dependent library libGraf.so for class TPad
dlopen error: dlopen(/usr/local/root/lib/libGpad.so, 9): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /usr/local/root/lib/libGraf.so
Reason: image not found
Load Error: Failed to load Dynamic link library /usr/local/root/lib/libGpad.so
Error in TCint::AutoLoad: failure loading library libGpad.so for class TPad
dlopen error: dlopen(/usr/local/root/lib/libGui.so, 9): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /usr/local/root/lib/libGraf.so
Reason: image not found
Load Error: Failed to load Dynamic link library /usr/local/root/lib/libGui.so
Error in TCint::AutoLoad: failure loading library libGui.so for class TRootGuiFactory
Error in TPluginHandler::SetupCallEnv: class TRootGuiFactory not found in plugin Gui
dlopen error: dlopen(/usr/local/root/lib/libGX11TTF.so, 9): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /usr/local/root/lib/libGX11TTF.so
Reason: image not found
Load Error: Failed to load Dynamic link library /usr/local/root/lib/libGX11TTF.so
Error in TCint::AutoLoad: failure loading library libGX11TTF.so for class TGX11TTF

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

Thread 1 (process 81081):
#0 0x00007fff891f8168 in wait4 ()
#1 0x00007fff8a1dd5f5 in system ()
#2 0x0000000109c58a26 in TUnixSystem::StackTrace ()
#3 0x0000000109c567b7 in TUnixSystem::DispatchSignals ()
#4
#5 0x0000000109b875b9 in TApplication::InitializeGraphics ()
#6 0x0000000109b90c40 in TBrowser::TBrowser ()
#7 0x0000000109d79aa9 in G__G__Base1_79_0_3 ()
#8 0x000000010a444b3b in Cint::G__ExceptionWrapper ()
#9 0x000000010a4f407a in G__execute_call ()
#10 0x000000010a4f465b in G__call_cppfunc ()
#11 0x000000010a4c8765 in G__interpret_func ()
#12 0x000000010a4b1cb0 in G__getfunction ()
#13 0x000000010a48e173 in G__define_var ()
#14 0x000000010a522fe8 in G__exec_statement ()
#15 0x000000010a488818 in G__exec_tempfile_core ()
#16 0x000000010a4883c9 in G__exec_tempfile_fp ()
#17 0x000000010a532117 in G__process_cmd ()
#18 0x0000000109c1eba2 in TCint::ProcessLine ()
#19 0x0000000109b89ea7 in TApplication::ProcessLine ()
#20 0x000000010ab6df9c in TRint::HandleTermInput ()
#21 0x000000010ab6c647 in TTermInputHandler::Notify ()
#22 0x000000010ab6e80d in TTermInputHandler::ReadNotify ()
#23 0x0000000109c55c6e in TUnixSystem::CheckDescriptors ()
#24 0x0000000109c554c5 in TUnixSystem::DispatchOneEvent ()
#25 0x0000000109bdfafd in TSystem::InnerLoop ()
#26 0x0000000109bdf92e in TSystem::Run ()
#27 0x0000000109b8a9a4 in TApplication::Run ()
#28 0x000000010ab6d94a in TRint::Run ()
#29 0x0000000109b7ba3f in main ()

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#5 0x0000000109b875b9 in TApplication::InitializeGraphics ()
#6 0x0000000109b90c40 in TBrowser::TBrowser ()

[/code]

It seems to have several problems finding libraries such as libfreetype, libssl and so on. Is this a general bug or a misconfiguration of my machine?

This binary requires XQuartz 2.7.2 as the Apple provided X11 has issues. Btw, the upcoming Mountain Lion will only work with XQuartz as Apple stops shipping an own X11. Get it here:

xquartz.macosforge.org/landing/

The download page has been updated.

Cheers, Fons.