Compilation error lcrt1.10.6

Bug #1799158 reported by Luca on 2018-10-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description


I was trying to use mg5 within CheckMATE. I installed all the dependencies of the latter and Pythia 8 from mg5. While running the example that CheckMATE proposes to test its installation I receive the following error related to mg5:

Error detected in "generate_events run"
write debug file /Applications/Physics/CheckMATEbeta-2.0.7/results/example/mg5amcatnlo/process/run_tag_1_debug.log
If you need help with this issue please contact us on
MadGraph5Error : A compilation Error occurs when trying to compile /Applications/Physics/CheckMATEbeta-2.0.7/results/example/mg5amcatnlo/process/Source.
 The compilation fails with the following output message:
     /usr/local/bin/gfortran-7 -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
     /usr/local/bin/gfortran-7 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -lc++ -mmacosx-version-min=10.7 -lbias
     ld: library not found for -lcrt1.10.6.o
     collect2: error: ld returned 1 exit status
     make: *** [../bin/internal/combine_events] Error 1

 Please try to fix this compilations issue and retry.
 Help might be found at
 If you think that this is a bug, you can report this at

I am on the latest version of mac OS, xcode and command line tools are installed and gfortran was installed as a part of gcc provided by Homebrew.

Thanks for your help!

Luca (luca-marzola) wrote :

Hi Luca,

Looks like Mojave does not allow compilation compatible with MacOS10.6 anymore.
A patch has been pushed in our development version to have dedicated compilation flag for Mojave:



Changed in mg5amcnlo:
status: New → Fix Committed
Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers