因为某些原因痛饮我的计算机上的配置不正确。它在检查版本时给出以下输出:
$ 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.
关于如何修复它有什么建议吗?谢谢。