You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... // See https://github.com/torch/ezinstall/issues/27 for full output
[ 73%] Building ASM object luajit/CMakeFiles/luajit.dir/lj_vm.s.o
Linking C executable luajit
Undefined symbols for architecture x86_64:
"_rl_completion_suppress_append", referenced from:
_lua_rl_complete in luajit.c.o
ld: symbol(s) not found for architecture x86_64
I grepped the ./build/CMakeCache.txt file and found it was trying to use the OSX default /usr/lib/libreadline.dylib (which symlinks to libedit) instead of the one I installed and linked with homebrew.
To finally fix it, I just symlinked the homebrew lib folder into the place where it usually is (/usr/local/lib) deleted the whole gitfolder and reran the script. Then, all was well and it completed successfully.
My question is how to better handle this use-case? Is there a way to specify the location of the proper file?
The text was updated successfully, but these errors were encountered:
I'm using boxen on OSX 10.9 and (for some stupid reason) it puts homebrew in /opt/boxen/homebrew/ instead of the default /usr/local
When I use the torch7 easyinstall script at https://github.com/torch/ezinstall/blob/master/install-luajit%2Btorch I get the following error:
I grepped the ./build/CMakeCache.txt file and found it was trying to use the OSX default /usr/lib/libreadline.dylib (which symlinks to libedit) instead of the one I installed and linked with homebrew.
To finally fix it, I just symlinked the homebrew lib folder into the place where it usually is (/usr/local/lib) deleted the whole gitfolder and reran the script. Then, all was well and it completed successfully.
My question is how to better handle this use-case? Is there a way to specify the location of the proper file?
The text was updated successfully, but these errors were encountered: