ruby - rbenv install 2.4.0 fails in Mac OS Sierra 10.12.6 -
> rbenv install 2.4.0 ruby-build: use openssl homebrew downloading > ruby-2.4.0.tar.bz2... > -> https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2 installing ruby-2.4.0... ruby-build: use readline homebrew > > build failed (os x 10.12.6 using ruby-build 20170726) > > inspect or clean working tree @ > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759 > results logged > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759.log > > last 10 log lines: referenced from: /usr/local/bin/tar expected > in: /usr/lib/libsystem.b.dylib > > dyld: symbol not found: _utimensat referenced from: > /usr/local/bin/tar expected in: /usr/lib/libsystem.b.dylib > > /usr/local/bin/ruby-build: line 344: 21953 abort trap: 6 tar > $tar_args "$package_filename" > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759/ruby-2.4.0 > /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759 > ~/documents/github /usr/local/bin/ruby-build: line 563: ./configure: > no such file or directory
contents /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759.log
dyld: lazy symbol binding failed: symbol not found: _utimensat
referenced from: /usr/local/bin/tar expected in: /usr/lib/libsystem.b.dylibdyld: symbol not found: _utimensat referenced from: /usr/local/bin/tar expected in: /usr/lib/libsystem.b.dylib
/usr/local/bin/ruby-build: line 344: 21953 abort trap: 6 tar $tar_args "$package_filename" /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759/ruby-2.4.0 /var/folders/9_/xjrq9lv11hl_82pmlzqh3h0m0000gn/t/ruby-build.20170728015414.21759 ~/documents/github /usr/local/bin/ruby-build: line 563: ./configure: no such file or directory
brew uninstall tar rbenv install ruby 2.4.0
now works, looks gnu-tar didn't play mac os 10.12.16 @ moment, must fall native macos tar
thanks @lucascosta
Comments
Post a Comment