Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
293 views
in Technique[技术] by (71.8m points)

c++ - Intel TBB libtbb.so file not found after upgrading

I had a project running with older version of TBB (flow graph input_node was not declared), and I had no idea how to update it or how it was installed... In the desperation of the moment I found: https://github.com/wjakob/tbb so I went a head and purged tbb using dpkg --purge libtbb-dev then followed the instructions in that git repo.

Now when I run the google tests to check that everything is fine, first couple tests that only use tbb pipeline works correctly. For the following tests that use tbb flow graph builds correctly, when running I get this error message:

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

I'm no expert in this field, tried googling around but never found anything that I understand, they all mention linking problem but shouldn't that be detect at build?

My cmake file is very simple:

set(CMAKE_CXX_STANDARD 17)
add_executable(QueryExecuter_Google_Tests_run GlobalAlgorithmTest.cpp)
target_link_libraries(QueryExecuter_Google_Tests_run leveldb gtest gtest_main tbb)

Any idea what went wrong and how could I fix it?

running on Ubuntu 18.04.5 cmake

question from:https://stackoverflow.com/questions/65641525/intel-tbb-libtbb-so-file-not-found-after-upgrading

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...