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

gtmaroc.ma picture gtmaroc.ma · Jun 2, 2014 · Viewed 9.6k times · Source

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

Answer

gtmaroc.ma picture gtmaroc.ma · Jun 2, 2014

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

sudo apt-get install libreadline6:i386