Fluka in Mac: ld assertion failed

Dear FLUKA team,

In my Mac Montery, “make” in fluka4-3.0/src directory gives me the following error.

ld: Assertion failed: (_file->_atomsArrayCount == computedAtomCount && "more atoms allocated than expected"), function parse, file macho_relocatable_file.cpp, line 2061.

collect2: error: ld returned 1 exit status

make: *** [/Users/sunil/fluka4-3.0//bin/fluka] Error 1

I have gfortran version 11 installed.
Am I doing something wrong?
thanks
sunil

Dear @sunil

I guess that your mac has a M1 processor and Command Line Tools version >=14.

Please downgrade to CLT 13.4

Not sure why the latest version raises that error.

Let me know if it works.
Cheers Luigi

Thanks Luigi, it worked.
Ciao