<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>rookiezn (rookiezn)</title>
    <link>https://ruby-china.org/rookiezn</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>在 OSX 10.11.6 上 使用 rvm 安装 ruby-2.3.0 提示 Symbol not found</title>
      <description>&lt;p&gt;在 OSX 10.11.6 上 使用 rvm 安装 ruby 2.3.0 时，提示 Symbol not found，详细错误信息如下。另外安装 2.2.0 时一切正常，安装 2.2.4 时错误相同。/usr/lib/libSystem.B.dylib 是存在的&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Error running &lt;span class="s1"&gt;'__rvm_make -j 1'&lt;/span&gt;,
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 &lt;span class="o"&gt;(&lt;/span&gt;which was built &lt;span class="k"&gt;for &lt;/span&gt;Mac OS X 10.12&lt;span class="o"&gt;)&lt;/span&gt;
  Expected &lt;span class="k"&gt;in&lt;/span&gt;: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/Rookie/.rvm/src/ruby-2.3.0/./miniruby &lt;span class="o"&gt;(&lt;/span&gt;which was built &lt;span class="k"&gt;for &lt;/span&gt;Mac OS X 10.12&lt;span class="o"&gt;)&lt;/span&gt;
  Expected &lt;span class="k"&gt;in&lt;/span&gt;: /usr/lib/libSystem.B.dylib

make: &lt;span class="k"&gt;***&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;.rbconfig.time] Trace/BPT &lt;span class="nb"&gt;trap&lt;/span&gt;: 5
+__rvm_make:0&amp;gt; &lt;span class="k"&gt;return &lt;/span&gt;2
There has been an error &lt;span class="k"&gt;while &lt;/span&gt;running make. Halting the installation.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;该如何处理呢？&lt;/p&gt;</description>
      <author>rookiezn</author>
      <pubDate>Sat, 03 Sep 2016 11:22:04 +0800</pubDate>
      <link>https://ruby-china.org/topics/30980</link>
      <guid>https://ruby-china.org/topics/30980</guid>
    </item>
  </channel>
</rss>
