This error usually means that you upgraded your C compiler since you originally created your Opam switch. Short of reverting your compiler to an older version, I think the only solution is to completely rebuild your switch from scratch with that new compiler.
1 Like