libreadline.so.6 required but libreadline.so.7 is the current version

There is an issue talking about this on Github:
https://github.com/electron-userland/electron-builder/issues/993

This error occurs when using or1ksim on my Ubuntu 18.04.

or1k-sim: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

By using the command ldconfig -p | grep readline, I found that there is libreadline.so.7 rather than libreadline.so.6 on my Linux.

To solve this, run the following command:

sudo ln -s libreadline.so.7.0 libreadline.so.6

The explanations of these commands will be added in the future…

你可能感兴趣的:(libreadline.so.6 required but libreadline.so.7 is the current version)