{"action":"created","issue":{"url":"https://api.github.com/repos/hughperkins/distro-cl/issues/2","repository_url":"https://api.github.com/repos/hughperkins/distro-cl","labels_url":"https://api.github.com/repos/hughperkins/distro-cl/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hughperkins/distro-cl/issues/2/comments","events_url":"https://api.github.com/repos/hughperkins/distro-cl/issues/2/events","html_url":"https://github.com/hughperkins/distro-cl/issues/2","id":153203515,"number":2,"title":"Error installing torch-cl on Ubuntu 16.04 with Anaconda Python and mainline torch installed","user":{"login":"vinhqdang","id":4891112,"avatar_url":"https://avatars.githubusercontent.com/u/4891112?v=3","gravatar_id":"","url":"https://api.github.com/users/vinhqdang","html_url":"https://github.com/vinhqdang","followers_url":"https://api.github.com/users/vinhqdang/followers","following_url":"https://api.github.com/users/vinhqdang/following{/other_user}","gists_url":"https://api.github.com/users/vinhqdang/gists{/gist_id}","starred_url":"https://api.github.com/users/vinhqdang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinhqdang/subscriptions","organizations_url":"https://api.github.com/users/vinhqdang/orgs","repos_url":"https://api.github.com/users/vinhqdang/repos","events_url":"https://api.github.com/users/vinhqdang/events{/privacy}","received_events_url":"https://api.github.com/users/vinhqdang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-05T10:09:44Z","updated_at":"2016-05-05T10:32:28Z","closed_at":null,"body":"I have Ubuntu 16.04 server, with Anaconda Python 2.7.11 and *mainline* torch installed and run already (with LUAJIT2.1)\r\n\r\nI tried to install torch-cl by following the instruction, but remove libqt4-core and libqt4-gui from install-deps script.\r\n\r\nThen I do ``./install.sh``\r\n\r\nand met\r\n\r\n```\r\n./install.sh \r\nPrefix set to /home/vinh/torch-cl/install\r\nInstalling Lua version: LUAJIT21\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `tputs'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `tgoto'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `tgetflag'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `UP'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `tgetent'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `tgetnum'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `PC'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `tgetstr'\r\n/home/vinh/anaconda2/lib/libreadline.so: undefined reference to `BC'\r\ncollect2: error: ld returned 1 exit status\r\nmake[2]: *** [exe/luajit-rocks/luajit-2.1/luajit] Error 1\r\nmake[1]: *** [exe/luajit-rocks/luajit-2.1/CMakeFiles/luajit.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n./install.sh: line 86: /home/vinh/torch-cl/install/bin/luarocks: No such file or directory\r\nInstalling common Lua packages\r\n./install.sh: line 90: /home/vinh/torch-cl/install/bin/luarocks: No such file or directory\r\n```"},"comment":{"url":"https://api.github.com/repos/hughperkins/distro-cl/issues/comments/217120820","html_url":"https://github.com/hughperkins/distro-cl/issues/2#issuecomment-217120820","issue_url":"https://api.github.com/repos/hughperkins/distro-cl/issues/2","id":217120820,"user":{"login":"hughperkins","id":123560,"avatar_url":"https://avatars.githubusercontent.com/u/123560?v=3","gravatar_id":"","url":"https://api.github.com/users/hughperkins","html_url":"https://github.com/hughperkins","followers_url":"https://api.github.com/users/hughperkins/followers","following_url":"https://api.github.com/users/hughperkins/following{/other_user}","gists_url":"https://api.github.com/users/hughperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/hughperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughperkins/subscriptions","organizations_url":"https://api.github.com/users/hughperkins/orgs","repos_url":"https://api.github.com/users/hughperkins/repos","events_url":"https://api.github.com/users/hughperkins/events{/privacy}","received_events_url":"https://api.github.com/users/hughperkins/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T10:32:28Z","updated_at":"2016-05-05T10:32:28Z","body":"seems like you're either missing libreadline-dev, or anaconda is overriding it.  I think the first thing to try would be:\r\n```\r\nsudo apt-get install -y libreadline-dev\r\n```\r\nIf that doesnt fix it, we may need to remove/replace the libreadline in the anaconda distribution"}}