I'm trying to install mysql2 in my Mac running on MacOS Big Sur. When I run 'gem install mysql2' I get: library not found for -lzstd
If I then run 'gem install mysql2 -- --with-opt-dir="$(brew --prefix zstd)"' I get: library not found for -lssl
I can then run 'gem install mysql2 -- --with-opt-dir="$(brew --prefix openssl)"' but I again get: library not found for -lzstd
How can I workaround this issue? Is there a way to specify both libraries with 'with-opt-dir'?