OS X Error: dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Opened this issue · 4 comments
sshaw commented
/tmp/foo >sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.5
BuildVersion: 13F1911
/tmp/foo >./bin/ruby_ship.sh --help
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /tmp/foo/bin/shipyard/darwin_ruby/bin/ruby
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /tmp/foo/bin/shipyard/darwin_ruby/bin/ruby
Expected in: /usr/lib/libSystem.B.dylib
/tmp/foo/bin/shipyard/darwin_ruby.sh: line 6: 61903 Trace/BPT trap: 5 "${DIR}/darwin_ruby/bin/ruby" -I "${DIR}/shipyard/darwin_ruby/lib/ruby/gems/2.1.0 ruby/" -I "${DIR}/shipyard/darwin_ruby/lib/ruby/2.1.0 ruby/" -I "${DIR}/shipyard/darwin_ruby/bin/" -I "${DIR}/shipyard/darwin_ruby/lib/ruby/2.1.0 ruby//Users/stephan/Documents/github/ruby_ship/tools/../bin/shipyard/darwin_ruby/lib/ruby/2.1.0:
x86_64-darwin14.0/" "$@"
stephan-nordnes-eriksen commented
Did not see this until now. Are you sure you have a clean version of ruby_ship on your setup?
sshaw commented
Not sure what you mean by "clean" but that output is a result of following the instructions here.
stephan-nordnes-eriksen commented
By clean, I mean you have just downloaded it, and not made any changes :)
I will look into this as soon as possible
stephan-nordnes-eriksen commented
I was able to reproduce the issue. I think it is something that was introduced in the newer versions of osx, or it could possibly be that the last time I updated the repo, the dylibs were not properly set. Hopefully I can get a fix out soon.