_S_create_c_locale name not valid

-bash-4.1$ ./foldx64Static terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid

try to set this before export LANG="C"