You are not logged in.

#1 2025-10-21 17:13:03

2001herne
Member
Registered: 2020-09-27
Posts: 11

[Intended, Solved] boost-libs no longer includes libboost_system.so

After the upgrade to libboost-1.89 on 20/10/25, it seems that boost-libs no longer provides libboost_system. so

Tested as follows:
1. Downgraded to 1.88
2. Put together simple c++ test file (provided)
3. check compilation
4. Upgrade back to 1.89
5. retest compilation
6. No longer locates Boost::System.

Just wondering if this was something other people had run in to, or if I was seeing something funky on my end.

CMakeLists.txt

cmake_minimum_required(VERSION 4.1)
project(BoostTest)
set(CMAKE_CXX_STANDARD 20)
find_package(Boost REQUIRED COMPONENTS system)
add_executable(BoostTest main.cpp)
target_link_libraries(BoostTest Boost::system)

main.cpp

#include <boost/system.hpp>
#include <iostream>
int main() {
    auto test = boost::system::error_code();
    std::cout << test.message() << std::endl;
}

Last edited by 2001herne (2025-10-21 18:18:25)

Offline

#2 2025-10-21 18:08:17

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,249

Re: [Intended, Solved] boost-libs no longer includes libboost_system.so

This is intentional. The library was just a stub for many years.

Offline

#3 2025-10-21 18:17:54

2001herne
Member
Registered: 2020-09-27
Posts: 11

Re: [Intended, Solved] boost-libs no longer includes libboost_system.so

Thanks for letting me know.

Offline

#4 2025-10-22 10:36:46

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,348
Website

Re: [Intended, Solved] boost-libs no longer includes libboost_system.so

Offline

#5 2025-10-24 18:49:27

JamesBrosnahan
Member
Registered: 2025-10-24
Posts: 1

Re: [Intended, Solved] boost-libs no longer includes libboost_system.so

The xrt and xrt-npu-git packages are broken from this update.

CMake Error at /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by "boost_system"
  (requested version 1.89.0) with any of the following names:

    boost_systemConfig.cmake
    boost_system-config.cmake

  Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
  "boost_system_DIR" to a directory containing one of the above files.  If
  "boost_system" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
  CMake/boostUtil.cmake:32 (find_package)
  CMake/nativeLnx.cmake:82 (include)
  CMakeLists.txt:39 (include)

When running makepkg -si in xrt-npu-git directory yay -G xrt-npu-git

Last edited by JamesBrosnahan (2025-10-24 18:56:45)

Offline

#6 2025-10-24 21:58:32

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,249

Re: [Intended, Solved] boost-libs no longer includes libboost_system.so

JamesBrosnahan wrote:

The xrt and xrt-npu-git packages are broken from this update.

This is something that needs to be fixed in those packages

Offline

Board footer

Powered by FluxBB