I used cmake to build my project. I tried sudo apt-get install libboost-all-dev, but it didn't solve my issue. Is there a way to solve this problem? Thanks.
I had a similar problem, and found that the needed library was installed under the name /usr/lib/<arch>/libboost_python38.so (for x86_64 in my case that's /usr/lib/x86_64-linux-gnu/libboost_python38.so).
So I ran sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python38.so /usr/lib/x86_64-linux-gnu/libboost_python-py38.so and was able to link OK.
I ran into this specifically when trying to install pygattlib under python 3.8.
how to install boost_python-py38 on ubuntu system