victor / whereami

get your location from the command line
http://victor.github.io/whereami/
MIT License
213 stars 24 forks source link

dyld: lazy symbol binding failed: Symbol not found: _objc_readClassPair #13

Closed kvarga closed 9 years ago

kvarga commented 9 years ago

Just downloaded, switched to swift branch, installed and get an error:

$ whereami
dyld: lazy symbol binding failed: Symbol not found: _objc_readClassPair
  Referenced from: /usr/local/bin/whereami
  Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_readClassPair
  Referenced from: /usr/local/bin/whereami
  Expected in: /usr/lib/libobjc.A.dylib

Trace/BPT trap: 5

xctool 0.2.2 Xcode 6.1.1 - Build version 6A2008a

Any ideas?

victor commented 9 years ago

Umm... are you using Yosemite?

kvarga commented 9 years ago

Not on this machine. I'll upgrade and try again.

victor commented 9 years ago

does it crash if you just run whereami --version? The build server at Travis runs it on Mavericks and doesn't seem to have any problem.

kvarga commented 9 years ago
$ sw_vers -productVersion 
10.9.5
$ whereami --version
dyld: lazy symbol binding failed: Symbol not found: _objc_readClassPair
  Referenced from: /usr/local/bin/whereami
  Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_readClassPair
  Referenced from: /usr/local/bin/whereami
  Expected in: /usr/lib/libobjc.A.dylib

Trace/BPT trap: 5
victor commented 9 years ago

Please pull the new commit and try again. I lowered the deployment target to Mavericks, on my test Mac mini it works.

kvarga commented 9 years ago

awesome! that fixed it. Thanks.