.L libCLHEP.dylib

Dear all,
I am using root on MAC OSX (Snow Leopard machine) and I get the following error:

$ uname -a
Darwin net-93-150-89-157.t2.dsl.vodafone.it 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386
$ root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.26/00b 9 February 2010 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.26/00b (tags/v5-26-00b@32327, Feb 11 2010, 14:21:13 on macosx64)

CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .L libCLHEP.dylib
Error: Bad source file(binary) /Users/dario/software/CLHEP/lib/./libCLHEP.dylib libCLHEP.dylib:1:
*** Interpreter error recovered ***
root [1] .q

While on Linux it work fine …

Anyone can help me ?

Hi,

please use gSystem->Load() - and I believe with MacOS 10.6 you should be using libCLHEP.so.

Cheers, Axel.