LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2018, 02:08 AM   #1
bect3000
LQ Newbie
 
Registered: Jan 2018
Posts: 1

Rep: Reputation: Disabled
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
 
Old 01-29-2018, 02:40 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
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)

Last edited by pan64; 01-29-2018 at 02:58 AM.
 
Old 09-15-2018, 09:25 PM   #3
Zhanpython
LQ Newbie
 
Registered: Sep 2018
Posts: 3

Rep: Reputation: Disabled
Smile 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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 8.0 Chapter 8.3 libreadline.so.7 Missing? brotagonist Linux From Scratch 2 06-08-2017 05:00 PM
libreadline yovkoi Linux - Server 1 08-14-2013 09:05 AM
libreadline.so.5 Transition Slackware 3 02-18-2006 04:05 PM
libreadline...first one problem leads to another Cirdan Linux From Scratch 2 12-11-2005 11:44 AM
libreadline.so.4 dependency problem Hunter2 Linux - Software 3 05-05-2005 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration