Im installing ffi on Apple Silicon Mac, using rosetta2
brew works on rosetta2. therefore I set this.
LDFLAGS="-L/usr/local/opt/libffi/lib" P