42_EXAM
42_EXAM copied to clipboard
Readline installation
I get can't install readline library error. How to install manually or fix it. I'm currently on Ubuntu.
Hi,
You can use this command on Ubuntu : sudo apt-get install libreadline6 libreadline6-dev
Hello! I have the same problem with installing readline library. When I use sudo apt-get install libreadline6 libreadline6-dev
it gives me an error
E: Unable to locate package libreadline6
As I understood this package is not available for Ubuntu 18.04, as it ships with libreadline5 and libreadline7. I tried to create a symlink from libreadline7 to libreadline6 as a workaround with this code, but it didn't help. What can I do? :)
$ cd /lib/x86_64-linux-gnu/
$ sudo ln -s libreadline.so.7.0 libreadline.so.6
Hi,
Did you try to do the command sudo apt-get update && sudo apt-get upgrade
?
Yeah, but it still doesn't work.
I fixed this problem E: Unable to locate package libreadline6
by installing libreadline6 manually from here
(http://archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline6_6.3-8ubuntu2_amd64.deb)
However, when I run the exam, it checks the readline library and doesn't find it.
Can't install readline library... Please install it manually or write an Issue on Github...
make: *** [Makefile:23: grade] Error 1
No chance of preparing for the exam from home :(
I have the same problem here when try to start GradeMe from home, I tried every solutions up there but nothing works
I have the same issue. That's weird, because it works fine on my second machine, also ubuntu
Hi 👋🏼
Do you have the c++ compiler ? (clang++ or g++ )
Hey, Thanks for the reply. Yes I do. My problem doesn't differ much from the one already mentioned on github (readline library). It seems to me there is a problem related to dependencies of the library. However on the other machine I have (also Ubuntu), everything works. There I use gcc compiler and looks like different version of the library was installed. So far I can't tell much more. I'll investigate further and answer in github, if I won't give up.
All the best! Radek
22.03.2023 00:10:47 JCluzet @.***>:
Hi 👋🏼
Do you have the c++ compiler ? (clang++ or g++ )
— Reply to this email directly, view it on GitHub[https://github.com/JCluzet/42_EXAM/issues/89], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AZEQQAKMIIWM2QHJSIPEDC3W5IYPDANCNFSM6AAAAAAUZNGLDQ]. You are receiving this because you commented.[Verfolgungsbild][https://github.com/notifications/beacon/AZEQQAKHB6ZIBHMYD4DEMG3W5IYPDA5CNFSM6AAAAAAUZNGLDSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSYENNXG.gif]
Alright, I managed to make it work. First of all I removed and purged readline library, then I removed the old compiler, switched to cc and then I installed readline again with sudo apt-get install libreadline-dev
. I think there was a problem with conflicting dependencies. Also i think I tried to install the old version of the library. 8.1.2 is the newest at the moment.
I had the same problem on Ubuntu 22.10
Turns out some dependencies for the compiler were missing. sudo apt install build-essential
will install the compiler and other tools that you may need for building software from source.