ld:即使安装了xcode命令行工具,也找不到-lbundle1.o的库

时间:2019-02-22 10:13:41

标签: xcode gfortran macos-mojave

使用gfortran安装程序时,出现错误

ld: library not found for -lbundle1.o
collect2: error: ld returned 1 exit status

搜索stackoverflow我发现library not found for -lbundle1.o when installing python packages (ffnet, spacepy) on my mac,答案是调用

xcode-select --install

要安装xcode命令行工具。然后这给了我

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

告诉我我已经安装了它们。如果我的安装由于某种原因而损坏,我已经尝试删除/ Library / Developer / CommandLineTools并重新安装,但是它没有任何改变。 (我的macOS版本是10.14.1,xcode-select版本2354)

0 个答案:

没有答案
相关问题