Last active
December 8, 2024 10:17
-
-
Save bikerduweb/bcb0c42efe6fe211b9e7d31ab20af8bb to your computer and use it in GitHub Desktop.
[Ruby compilation] Various help to compile specific ruby things #tips
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Si probleme de librairie zstd | |
| gem install mysql2 -- --with-opt-dir=$(brew --prefix openssl) --with-ldflags=-L/opt/homebrew/opt/zstd/lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # compile ruby on macbook m1 | |
| brew install zlib readline libyaml libffi | |
| export RUBY_CONFIGURE_OPTS="--with-zlib-dir=$(brew --prefix zlib) --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline) --with-libyaml-dir=$(brew --prefix libyaml) --with-gdbm-dir=$(brew --prefix gdbm)" | |
| export CFLAGS="-Wno-error=implicit-function-declaration" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment