Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with boost 1.87 #7875

Open
yurivict opened this issue Feb 19, 2025 · 2 comments
Open

Build fails with boost 1.87 #7875

yurivict opened this issue Feb 19, 2025 · 2 comments

Comments

@yurivict
Copy link

In file included from /usr/ports/net-p2p/libtorrent-rasterbar/work/libtorrent-rasterbar-1.2.20/src/bt_peer_connection.cpp:44:
In file included from /usr/ports/net-p2p/libtorrent-rasterbar/work/libtorrent-rasterbar-1.2.20/include/libtorrent/bt_peer_connection.hpp:51:
In file included from /usr/ports/net-p2p/libtorrent-rasterbar/work/libtorrent-rasterbar-1.2.20/include/libtorrent/torrent.hpp:51:
In file included from /usr/ports/net-p2p/libtorrent-rasterbar/work/libtorrent-rasterbar-1.2.20/include/libtorrent/peer_list.hpp:47:
In file included from /usr/ports/net-p2p/libtorrent-rasterbar/work/libtorrent-rasterbar-1.2.20/include/libtorrent/ip_voter.hpp:40:
In file included from /usr/ports/net-p2p/libtorrent-rasterbar/work/libtorrent-rasterbar-1.2.20/include/libtorrent/aux_/session_interface.hpp:39:
/usr/ports/net-p2p/libtorrent-rasterbar/work/libtorrent-rasterbar-1.2.20/include/libtorrent/io_service.hpp:40:10: fatal error: 'boost/asio/io_service.hpp' file not found
   40 | #include <boost/asio/io_service.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 4 errors generated.

Version: 1.2.20
clang-19

@Alexey104
Copy link

Alexey104 commented Feb 21, 2025

As a temporary workaround you can downgrade boost and boost-libs packages to 1.86, compile Libtorrent, upgrade boost and boost-libs back to 1.87 and then ln -s /usr/lib/libboost_system.so.1.87.0 /usr/lib/libboost_system.so.1.86.0 (or whatever the paths are on your system).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants