Closed mhenrixon closed 2 years ago
set -gx EXTRA_CFLAGS "-I/usr/local/opt/openssl/include"
set -gx EXTRA_CXXFLAGS "-I/usr/local/opt/openssl/include"
set -gx EXTRA_LDFLAGS "-L/usr/local/opt/openssl/lib"
# set -gx LDFLAGS "-L/usr/local/opt/readline/lib -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl/lib"
set -gx LDFLAGS "-L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl/lib"
# set -gx CPPFLAGS "-I/usr/local/opt/readline/include -I/usr/local/opt/llvm/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl/include"
set -gx CPPFLAGS "-I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl/include"
# set -g fish_user_paths /usr/local/opt/sqlite/bin /usr/local/opt/openssl/bin /usr/local/opt/llvm/bin $fish_user_paths
set -g fish_user_paths /usr/local/opt/sqlite/bin /usr/local/opt/openssl/bin $fish_user_paths
It seems like removing any llvm shit from my fish profile does the trick so definitely an LLVM problem!
Hmm it worked for ruby 2.6.5 but not for ruby 2.5 or ruby 2.4:
ruby-install -j4 --package-manager brew --cleanup ruby 2.5
Was giving me some trouble when my current ruby was --system
if I switch to chruby ruby-2.6.5
the install is fine.
Wondering why older rubies can't be installed when current ruby is system?
Installing older Rubies on newer systems is often a headache, for sure. Closing since this issue is dated and reflects upstream dependency issues that aren't intended to be addressed at the ruby-install level. Thank you for reporting!
This computer is on Mac OS X 10.14. Installing rubies has worked before so I suppose it is a problem with upgrading llvm, openssl or some such.
This is the error log for me.
I'm baffled really, it used to work fine.