Skip to content

[Bug] Chiavdf FTBFS: attempts link to "boost_system" which no longer exists #19975

@moonlitbugs

Description

@moonlitbugs

What happened?

Just went to upgrade to the latest version 2.5.5 of Chia, and chiavdf won't build:

      [100%] Linking CXX shared module build/lib.linux-x86_64-cpython-312/chiavdf.cpython-312-x86_64-linux-gnu.so
      [100%] Built target chiavdf
      running build_hook
      /usr/bin/ld: cannot find -lboost_system: No such file or directory
      collect2: error: ld returned 1 exit status
      make: *** [Makefile.vdf-client:54: compile_asm] Error 1

The problem is that the functionality provided by library boost_system was replaced quite awhile ago by header macros, the library kept around as an empty, vestigial stub. But in the latest version of Boost, 1.89.0, that library has been removed altogether.

If I read the documentation from the Boost team correctly, all you need to do is remove the -lboost_system linker term.

Version

2.5.5

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions