Tag Archives: Ubuntu20.04 Compile Error

How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5

Project scenario:

Ubuntu 20.04 compilation error: error while loading shared libraries: libncurses. So. 5: cannot open shared object file: no such file or directory


Cause analysis:

libncurses5 file is missing 


Solution:

install libncurses5 to solve the problem. The commands are as follows

$      sudo apt install libncurses5