Ubuntu 20.04 安装64位SAC,提示缺少libncurses.so.5

解压sac压缩包

tar -xvzf sac-101.6-linux_x86_64.tar.gz

设置环境变量

# sac
export SACHOME=/home/xxx/micro/sac
export SACAUX=${SACHOME}/aux
export PATH=${SACHOME}/bin:${PATH}

运行sac,报错:

error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

解决方法:

sudo apt install libncurses5
# sudo apt install libncurses5-dev

参考:

https://blog.csdn.net/changzehai/article/details/104858157

你可能感兴趣的:(Ubuntu 20.04 安装64位SAC,提示缺少libncurses.so.5)