Open arthurduarte1 opened 8 months ago
I tried installing the gem with gem install mysql2 -- --with-ldflags=-L$(brew --prefix zstd)/lib
and it seemed to fix the problem locally.
I tried installing the gem with
gem install mysql2 -- --with-ldflags=-L$(brew --prefix zstd)/lib
and it seemed to fix the problem locally.
tks bro!
work
I tried installing the gem with
gem install mysql2 -- --with-ldflags=-L$(brew --prefix zstd)/lib
and it seemed to fix the problem locally.
Thanks. It resolved my issue with ruby 3.3.0 and mac M1 machine.
Thanks!
I tried installing the gem with
gem install mysql2 -- --with-ldflags=-L$(brew --prefix zstd)/lib
and it seemed to fix the problem locally.
Yes, using this command it's working on my mac m2 chip. Thanks @nelseric
I used this just to make sure it was linked to the right OpenSSL version as well:
bundle config --local build.mysql2 -- --with-ldflags=-L$(brew --prefix zstd)/lib $(ruby -r rbconfig -e 'puts RbConfig::CONFIG["configure_args"]' | xargs -n1 | grep with-openssl-dir)
I tried installing the gem with
gem install mysql2 -- --with-ldflags=-L$(brew --prefix zstd)/lib
and it seemed to fix the problem locally.
Work for me on Sonoma 14.5 M1 Pro chip. Thanks @nelseric!
I tried installing the gem with
gem install mysql2 -- --with-ldflags=-L$(brew --prefix zstd)/lib
and it seemed to fix the problem locally.
This worked for me with the following specs:
Mac M3 Sonoma 14.6.1 Ruby 3.0.7 Mysql gem v0.5.6
Any ideas on how to solve it? Thanks in advanced.
RVM Version:
Ruby version: