google-cloud-sdk-366.0.0-1 does not work on some linux
GCP released centos-7-v20211214 which included google-cloud-sdk-366.0.0-1.
of course, does not work.
the workaround is downgrade the package.
many users have the same problem.
see also: https://issuetracker.google.com/issues/209655844
centos-7-v20211214$ gcloud compute instances list
ERROR: gcloud crashed (SystemError): ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time)
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
Hello,
From my understanding, the internal issue is currently getting worked on and the SDK team is working hard on investigating the issue and finding a way to fix it. In the meantime, you can monitor the Issue Tracker [1] where the updates and the solution relating to this issue will be given.
Best Regards,
Ghayas
Google Cloud Platform, Montreal
[1] Issue Tracker:
https://issuetracker.google.com/209655844