LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install libreadline.so 7 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-libreadline-so-7-a-4175622609/)

bect3000 01-29-2018 02:08 AM

How to install libreadline.so 7
 
hi guys, I'm Super nb with ubuntu(my first time) and trying to play Deepmind's ataribreak-out by following https://github.com/kuz/DeepMind-Atari-Deep-Q-Learner

I'm under ubuntu 16.04.1 LTS with GTX Titan xp

When I wright ./install_dependencies.sh, it stops with these mentions


-- Installing: /home/ksj/atari/dqn/torch/bin/luarocks-admin
/home/ksj/atari/dqn/torch/bin/luajit: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory

=> Torch7 has been installed successfully

Installing nngraph ...
/home/ksj/atari/dqn/torch/bin/luajit: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
Error. Exiting.




I tried to download libreadline.so.7 by using apt-cache and apt-get
but there is no .so.7 only 6 or lower versions.


root@incheon:/home/ksj/atari/dqn# apt-cache search libreadline
libreadline-dev - GNU readline and history libraries, development files
libreadline-gplv2-dev - GNU readline and history libraries, development files
libreadline5 - GNU readline and history libraries, run-time libraries
libreadline5-dbg - GNU readline and history libraries, debugging libraries
libreadline6 - GNU readline and history libraries, run-time libraries
libreadline6-dbg - GNU readline and history libraries, debugging libraries
libreadline6-dev - GNU readline and history libraries, development files
cupt - flexible package manager -- console interface
libreadline-java - GNU readline and BSD editline wrappers for Java
libreadline-java-doc - API docs for readline/editline wrappers for Java


How can I get libreadline.so.7

pan64 01-29-2018 02:40 AM

I would try apt install luajit from official repos, that would not require libreadline.so.7
Also you can do something similar with torch, just I don't know the name of the package (but you can find it in install_dependencies.sh)

Zhanpython 09-15-2018 09:25 PM

Hi there
 
Hello, I meet with the same question when I was setting up the dqn, how did you tackle the ../torch/bin/luajit: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory issue?


All times are GMT -5. The time now is 11:26 PM.