torch/qtlua

qlua + Mac OS X + anaconda

elbamos opened this issue · 2 comments

I'm not sure if its an installer issue, or something unusual about my system, but after installing qlua with an active anaconda environment, qlua consistently failed to load with:

$ qlua
dyld: Library not loaded: @rpath/./libQtGui.4.dylib
  Referenced from: /usr/local/bin/qlua
  Reason: image not found
Trace/BPT trap: 5

I ultimately fixed this by adding anaconda/lib to the rpath:

install_name_tool -add_rpath /Volumes/home500/anaconda/lib qlua

I have the same issue. Previously had Conda installed and could not start qlua with exact reason.

Thank you!