轉載請注明出處:
http://www.cnblogs.com/darkknightzh/p/6098132.html
參考網址:
https://launchpad.net/ubuntu/+source/tbb
http://os.51cto.com/art/201510/493945.htm
運行一個網上下載的程序時,由於沒有安裝libtbb,提示無法找到libtbb.so.2。網上搜了一下,
https://launchpad.net/ubuntu/+source/tbb指出,libtbb2: parallelism library for C++ - runtime files
直接在終端中輸入:sudo apt-get install libtbb2
等待安裝完成,就可以了。
實際上,libtbb.so.2安裝到了/usr/lib/x86_64-linux-gnu/文件夾下面了。
之后該程序可以正常運行了。
通過http://os.51cto.com/art/201510/493945.htm中的apt-cache pkgnames libtbb可以看出一共安裝了下面這些包: