Just a reminder to myself besides installing boost-python3-devel (fedora). Had to set following symlink in /usr/lib64 (fedora) or /usr/lib/x86_64-linux-gnu/ (ubuntu)
Code: Select all
ln -s libboost_python3.so.1.66.0 libboost_python3-py36.so
Moderator: Oberlus
Just a reminder to myself besides installing boost-python3-devel (fedora). Had to set following symlink in /usr/lib64 (fedora) or /usr/lib/x86_64-linux-gnu/ (ubuntu)
Code: Select all
ln -s libboost_python3.so.1.66.0 libboost_python3-py36.so
There is no need to do that. First of all the FindBoost CMake module takes care of such platform library naming differences (the symlink name is not the default style Fedora names development libraries, so you are breaking your installation in a subtle way that will bite you in the arse in the future). Also the non-versioned so file is always provided by the corresponding devel packageOphiuchus wrote: ↑Tue Jul 07, 2020 6:17 pm Just a reminder to myself besides installing boost-python3-devel (fedora). Had to set following symlink in /usr/lib64 (fedora) or /usr/lib/x86_64-linux-gnu/ (ubuntu)Code: Select all
ln -s libboost_python3.so.1.66.0 libboost_python3-py36.so
Code: Select all
$ sudo dnf whatprovides *libboost_python*.so
Last metadata expiration check: 4:04:04 ago on Tue Jul 7 17:24:57 2020.
boost-python2-devel-1.69.0-9.fc31.i686 : Shared object symbolic links for Boost.Python 2
Repo : fedora
Matched from:
Other : *libboost_python*.so
boost-python2-devel-1.69.0-9.fc31.x86_64 : Shared object symbolic links for Boost.Python 2
Repo : fedora
Matched from:
Other : *libboost_python*.so
boost-python2-devel-1.69.0-12.fc31.i686 : Shared object symbolic links for Boost.Python 2
Repo : updates
Matched from:
Other : *libboost_python*.so
boost-python2-devel-1.69.0-12.fc31.x86_64 : Shared object symbolic links for Boost.Python 2
Repo : @System
Matched from:
Other : *libboost_python*.so
boost-python2-devel-1.69.0-12.fc31.x86_64 : Shared object symbolic links for Boost.Python 2
Repo : updates
Matched from:
Other : *libboost_python*.so
boost-python3-devel-1.69.0-9.fc31.i686 : Shared object symbolic links for Boost.Python 3
Repo : fedora
Matched from:
Other : *libboost_python*.so
boost-python3-devel-1.69.0-9.fc31.x86_64 : Shared object symbolic links for Boost.Python 3
Repo : fedora
Matched from:
Other : *libboost_python*.so
boost-python3-devel-1.69.0-12.fc31.i686 : Shared object symbolic links for Boost.Python 3
Repo : updates
Matched from:
Other : *libboost_python*.so
boost-python3-devel-1.69.0-12.fc31.x86_64 : Shared object symbolic links for Boost.Python 3
Repo : @System
Matched from:
Other : *libboost_python*.so
boost-python3-devel-1.69.0-12.fc31.x86_64 : Shared object symbolic links for Boost.Python 3
Repo : updates
Matched from:
Other : *libboost_python*.so
Thanks, cleaned it up accordingly.adrian_broher wrote: ↑Tue Jul 07, 2020 7:29 pm
There is no need to do that.... Also the non-versioned so file is always provided by the corresponding devel package