【问题标题】:Torch / cunn install error - file already has LC_RPATHTorch / cunn 安装错误 - 文件已经有 LC_RPATH
【发布时间】:2017-06-10 16:23:51
【问题描述】:

我正在尝试为 Torch 安装 cunn,但 make install 失败。 Cuda 是 7.5.27,因为 8 不再支持 OSX 10.10。

我一直在尝试调试它一段时间,但我已经没有东西可以尝试了。

在搜索解决方案时,我发现很少有人遇到类似问题(https://github.com/TRIQS/cthyb/issues/8https://github.com/jcjohnson/neural-style/issues/134),但没有找到任何可以解决此问题的解决方案。这似乎是一个与 OSX/Xcode 相关的普遍问题,不一定是 cunn。

非常感谢所有帮助。

$ luarocks install cunn
...
...
-- Installing: /Users/foo/torch/install/lib/luarocks/rocks/cunn/scm-1/lib/libTHCUNN.so
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: 
/Users/foo/torch/install/lib/luarocks/rocks/cunn/scm-1/lib/libTHCUNN.so (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib" 
would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib

【问题讨论】:

    标签: torch


    【解决方案1】:

    当我在~/torch./update.sh 中执行./clean.sh 时,问题就消失了。我仍然不知道是什么问题。

    【讨论】:

      猜你喜欢
      • 2023-04-02
      • 2019-05-21
      • 2022-01-28
      • 1970-01-01
      • 1970-01-01
      • 2019-03-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-13
      相关资源
      最近更新 更多