Everything in the CLI is statically linked, but there might be a problem with one of your environment variables.
Unset the LD_LIBRARY_PATH
If this variable is set, try unsetting it by entering the following command:
unset LD_LIBRARY_PATH
rm -rf ~/.cache/flywheel/