在 OSX 10.11.6 上 使用 rvm 安装 ruby 2.3.0 时,提示 Symbol not found,详细错误信息如下。另外安装 2.2.0 时一切正常,安装 2.2.4 时错误相同。/usr/lib/libSystem.B.dylib 是存在的
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/Rookie/.rvm/log/1472865655_ruby-2.3.0/make.log
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
compiling dmyenc.c
linking miniruby
config.status: creating ruby-runner.c
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/Rookie/.rvm/src/ruby-2.3.0/./miniruby (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/Rookie/.rvm/src/ruby-2.3.0/./miniruby (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
make: *** [.rbconfig.time] Trace/BPT trap: 5
+__rvm_make:0> return 2
There has been an error while running make. Halting the installation.
该如何处理呢?