因为某些原因痛饮我的电脑配置不正确。检查版本时输出如下:
$ swig --version
swig: error while loading shared libraries: libpcre.so.1: cannot open
shared object file: No such file or directory
而重新安装时会生成以下输出:
piyush@piyush-HP:~/test$ sudo apt-get install swig
[sudo] password for piyush:
Reading package lists... Done
Building dependency tree
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
有什么建议可以解决此问题吗?谢谢。