Linux下经常出现缺少某文件,或者缺少某个库的问题。
如:
mdcharm(mdcharm: error while loading shared libraries: libhunspell.so: cannot open shared object file: No such file or directory)
此时不要慌,几条命令轻松解决:
sudo apt-get install apt-file
apt -file update
apt-file search “apt-file search libhunspell.so”
sudo apt-file install libhunspell-dev
完美解决。