-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'__rvm_make -j8 error' on rvm install 2.6.1 (M1 MBPro, Ventura 13.0) #5266
Comments
#use the below instruction step by step to come out of this #please update if your issue is resolved |
As listed in the 'attempted fixes' section of my issue post @iAaquibjawed I have already tried your add to .zshrc suggestion, and this unfortunately did not stop the error. |
@jbk2 , There has be some better solutions but downgrading xcode to 13.4 fixed the issue for me. References: |
Thanks @Pralish, I'm trying to go through this process now, the issue I've now hit is that my OSX version (Ventura 13.0.1) will not allow the older xcode 13.6 to run due to compatability issues. Currently unsure if there is a way around this OS13.0.1. vs xcode 13.6 issue. Would of course rather a better solution than this xcode version workaround, but unfortunately I;ve no idea what it is. |
rvm install 2.6.1 --with-out-ext=fiddle |
|
@jbk2 , The xcode will throw an error when you try to open it. But the thing is you don't need to open xcode. Just move xcode from where you downloaded to Applications. Do check the xcode version afterwards with Yeah, It sounds crazy but I couldn't make it work any other way 😅. Please drop a comment if you find any other solutions. |
Were you able to get this working? |
@jbk2 are you able to fix this? I am getting same issue with Ventura 13.0.1 with m2. |
No
On Thu, Dec 8, 2022 at 9:36 PM Ruturaj Bisure ***@***.***> wrote:
@jbk2 <https://github.com/jbk2> are you able to fix this? I am getting
same issue with Ventura 13.0.1 with m2.
—
Reply to this email directly, view it on GitHub
<#5266 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABEX3J4BOSQEHFO3DPQ3ILWMLAMRANCNFSM6AAAAAAR3RBRSY>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Dave Paola
https://davepaola.com
|
-> nano ~/.zshrc |
still got same errors |
not working... I tried to install 2.6.10...its throwing same issue |
This worked for me (ruby 2.6.10 on M1 mac Ventura 13.2.1):
Source: |
I had a similar issue on my mac m1 air 2020 with Ventura 13.5.2. The problem is with openssl default version. You have to bind it with ruby installation along with homebrew. If you bind it without brew you might get errors. So here is my solution that worked for me. |
This has helped me, give it a try 😉: #4559 (comment) |
2.6.8 instead? |
1 similar comment
2.6.8 instead? |
This worked for me!! |
- When trying to `rvm install 'ruby-2.6.1' I get the following error message:
"Error running '__rvm_make -j8',
please read /Users/jamesbkemp/.rvm/log/1668005178_ruby-2.6.1/make.log
There has been an error while running make. Halting the installation."
Note that directly after rvm install command is given the following warning is printed out:
'No binary rubies available for: osx/13.0/x86_64/ruby-2.6.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.'
The last few lines from the 'make.log' file are:
(gist for entire file here)
`Undefined symbols for architecture x86_64:
"__mh_execute_header", referenced from:
_rb_dump_backtrace_with_lines in addr2line.o
ld: symbol(s) not found for architecture x86_64
Transforming external functions to static:
transform_mjit_header: making external definition of 'Init_vm_stack_canary' static inline
transform_mjit_header: making external definition of 'rb_vm_opt_struct_aset' static inline
...
transform_mjit_header: SKIPPED to transform __darwin_check_fd_set
transform_mjit_header: SKIPPED to transform __sputc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libruby.2.6.dylib] Error 1
make: *** Waiting for unfinished jobs....
ln -sf ../../../.ext/include/x86_64-darwin22/rb_mjit_min_header-2.6.1.h include/ruby-2.6.0/x86_64-darwin22/rb_mjit_min_header-2.6.1.h
+__rvm_make:0> return 2
`
Attempted fixes:
rvm info returns:
`name: "OSX"
version: "13.0"
architecture: "x86_64"
bash: "/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin22)"
zsh: "/bin/zsh => zsh 5.8.1 (x86_64-apple-darwin22.0)"
remote_path: "osx/13.0/x86_64"
xcode: ""
rvm:
version: "1.29.12 (latest)"
updated: "3 minutes 25 seconds ago"
path: "/Users/jamesbkemp/.rvm"
autolibs: "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."
ruby:
interpreter: "ruby"
version: "3.1.2p20"
date: "2022-04-12"
platform: "arm64-darwin21"
patchlevel: "2022-04-12 revision 4491bb740a"
full_version: "ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]"
homes:
gem: "/Users/jamesbkemp/.rvm/gems/ruby-3.1.2"
ruby: "/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2"
binaries:
ruby: "/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2/bin/ruby"
irb: "/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2/bin/irb"
gem: "/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2/bin/gem"
rake: "/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2/bin/rake"
environment:
PATH: "/Users/jamesbkemp/.rvm/gems/ruby-3.1.2/bin:/Users/jamesbkemp/.rvm/gems/ruby-3.1.2@global/bin:/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2/bin:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jamesbkemp/.rvm/bin"
GEM_HOME: "/Users/jamesbkemp/.rvm/gems/ruby-3.1.2"
GEM_PATH: "/Users/jamesbkemp/.rvm/gems/ruby-3.1.2:/Users/jamesbkemp/.rvm/gems/ruby-3.1.2@global"
MY_RUBY_HOME: "/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2"
IRBRC: "/Users/jamesbkemp/.rvm/rubies/ruby-3.1.2/.irbrc"
RUBYOPT: ""
gemset: ""
`
The text was updated successfully, but these errors were encountered: