Opened 3 years ago
Last modified 3 years ago
#1524 new Bug
Unable to install Delphes on Mac OS 12.1 (clang-11: error: linker command failed with exit code 1)
Reported by: | Michele Lucente | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hi,
I am trying to install Delphes 3.5.0 on Mac OS 12.1, but after the "make" command I get the following error:
>> Building libDelphesNoFastJet.dylib ld: -rpath can only be used when targeting Mac OS X 10.5 or later clang-11: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libDelphesNoFastJet.dylib] Error 1
My ROOT installation works fine (although I had to downgrade Command Line Tools from 13.1 to 13 to make it work).
I tried to install as well from MadGraph (i.e. "install Delphes"), but I get the very same error.
Thank you,
Michele
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Hi Pavel,
I confirm that using the latest Delphes version from https://github.com/delphes/delphes/archive/master.zip solved my problem.
Thank you for your help.
Best regards,
Michele
Note:
See TracTickets
for help on using tickets.
Hi Michele,
Makefile in Delphes 3.5.0 does not work with the recent MacOS versions. I have fixed it with following commit:
https://github.com/delphes/delphes/commit/910bd98482a3df7e7cf0ce045827fe60b903cb1c
I think the easiest solution would be to use the latest Delphes version from the following link:
https://github.com/delphes/delphes/archive/master.zip
I have just tested it with MacOS 12.1, ROOT 6.24.06 installed using the brew package manager and the command lines tools 13.2. Everything works without any problem.
Best regards,
Pavel