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

10,074

Solution 1

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

sudo apt-get install libreadline6:i386

Solution 2

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.

Share:
10,074
gtmaroc.ma
Author by

gtmaroc.ma

Expert in Web development, using HTML5, CSS, Bootstrap, jquery, PHP, Mysql. also i'm a delphi 7 developer, i have small experience using linux ubuntu. I like technology research, travel, reading. I'm now leader of a company that work in technology domain.

Updated on June 11, 2022

Comments

  • gtmaroc.ma
    gtmaroc.ma about 2 years

    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