Fork me on GitHub

Opened 10 years ago

Closed 10 years ago

#264 closed Bug (fixed)

installation problem for delphes-3.0.12

Reported by: chenning Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: installation Cc:

Description

hi,

I got the following Error information when installing the latest Delphes-3.0.12:

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: * [libDelphes.so] Error 1

And I also tried to install under the current version of Madgraph5, which is MG5_aMC_v2_1_1 , I also got the same Error message returned as above. I am using an OS X 10.9.2. Hope to figure out how to fix this problem. thanks a lot.

Change History (3)

comment:1 by Pavel Demin, 10 years ago

Looks like a problem with your ROOT installation.

This problem is discussed on the ROOT forum:

http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=17190&start=75

The solution is to

  • upgrade to the latest Xcode
  • install the latest command line tools
  • built the latest ROOT from sources
  • point all the environment variables to the correct ROOT installation directory


Last week, I've tested this solution myself.

Here is what I've done to correctly build ROOT and Delphes under Mac OS X 10.9:

  • installed ROOT 5.34.18 using the following commands:
    version=5.34.18
    export ROOTSYS=$HOME/root/root-${version}
    
    curl -O ftp://root.cern.ch/root/root_v${version}.source.tar.gz
    tar zxf root_v${version}.source.tar.gz
    
    cd root
    
    ./configure macosx --enable-gdml --enable-minuit2 --enable-roofit --enable-table --enable-unuran --disable-cocoa
    
    make -j 4
    make install
    
  • installed Delphes using the following commands:
    # setup ROOT environment variables
    export ROOTSYS=$HOME/root/root-5.34.18
    export PATH=$ROOTSYS/bin:$PATH
    export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH
    export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
    
    wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.0.12.tar.gz
    tar -zxf Delphes-3.0.12.tar.gz
    
    cd Delphes-3.0.12
    make -j 4
    

comment:2 by chenning, 10 years ago

Okay very nice~ I also tried, and it works! Thanks a lot.

comment:3 by Pavel Demin, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.