小编fly*_*now的帖子

非特权用户 dyld 的 OSX curl 错误:库未加载

我的 MAC 操作系统是 Yosemite 10.10,它有一个旧版本的 curl。我已经安装了 Xcode 和 Xcode 命令行工具。

I run cURL with the "sudo" command as  “sudo curl”:
    sudo curl
    Password:
    curl: try 'curl --help' or 'curl --manual' for more information

However, when I run curl under the common user in the the terminal, it failed as follows:

  dyld: Library not loaded: /usr/lib/libcurl.4.dylib
  Referenced from: /usr/bin/curl
  Reason: Incompatible library version: curl requires version 7.0.0 or later, but libcurl.4.dylib provides version 5.0.0
  Trace/BPT trap: 5


  I also downloaded the …
Run Code Online (Sandbox Code Playgroud)

osx curl

6
推荐指数
1
解决办法
8189
查看次数

标签 统计

curl ×1

osx ×1