dyld:未找到符号:_os_release

时间:2015-02-10 16:35:41

标签: xcode macos lua

我很少从源头构建任何东西,所以我真的不知道这里发生了什么,但是已经做了好几个小时的谷歌搜索仍然无法解决它......

我已经从app商店安装了xcode,下载了最新的lua,这就是:

cd lua-5.3.0

make macosx

dyld: Symbol not found: _os_release
Referenced from:  /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Expected in: /usr/local/terrame/lib/libSystem.B.dylib
in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
make: error: unable to locate xcodebuild, please make sure the path to     the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
然后我跑

xcode-select -r

仍然得到

dyld: Symbol not found: _os_release
Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 Expected in: /usr/local/terrame/lib/libSystem.B.dylib
 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

如果我再试一次

make macosx

第一个错误发生在我身上:

dyld: Symbol not found: _os_release
Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Expected in: /usr/local/terrame/lib/libSystem.B.dylib
in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
make: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch

我之前尝试过为Lua安装扩展程序,名为terrame(terrame.org),以便文件夹路径引用...

编辑(回答评论)

which make
/usr/bin/make

0 个答案:

没有答案