Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Red language console error: libreadline.so.6: cannot open shared object file

I'm new to the Red programming language.

I tried to test it by downloading the Linux binary. But when I execute it on the console, I get an error that says:

root@xxx-linux:/home/xxx/Downloads# ./red-042
Pre-compiling Red console...
/tmp/red/console: error while loading shared libraries:
libreadline.so.6: cannot open shared object file: No such file or directory

I searched on Google for this error, but couldn't find anything.

My operating system is 64-bit Linux Ubuntu 14.04 LTS

like image 463
gtmaroc.ma Avatar asked Jun 02 '14 11:06

gtmaroc.ma


2 Answers

I succeeded to make it work using this command on Ubuntu, which installs 32bit "multilib" version of libreadline:

sudo apt-get install libreadline6:i386
like image 153
gtmaroc.ma Avatar answered Nov 15 '22 03:11

gtmaroc.ma


32bit version of libreadline is required. There is already work to replace this dependency here https://github.com/qtxie/red/tree/new-console but it was not merged to the master yet.

like image 27
Oldes Avatar answered Nov 15 '22 03:11

Oldes