Unable to compile binaries #26423

issue BlockMechanic opened this issue on October 30, 2022
  1. BlockMechanic commented at 1:11 PM on October 30, 2022: contributor

    <!-- Describe the issue -->

    Attempted to build master branch on fresh Ubuntu 22.04 using ./autogen.sh ; ./configure ; make

    A static build using the depends works just fine, i confirmed just in case, but no dice on this method. Note I compiled bdb myself

    System information

    Core i7 Intel Ubuntu 22.04 16 GB RAM

    Expected behavior

    A complete compilation.

    <!--- What behavior did you expect? -->

    Actual behavior

    make[3]: Leaving directory '/home/bitcoin/Downloads/bitcoin/src/secp256k1'
      CXXLD    bitcoin-tx
      CXXLD    bitcoind
      CXXLD    bitcoin-wallet
    /usr/bin/ld: /usr/local/lib/libdb_cxx-4.8.a(os_yield.o): in function `__os_yield':
    os_yield.c:(.text+0xd1): undefined reference to `pthread_yield'
    collect2: error: ld returned 1 exit status
    make[2]: [Makefile:9024: bitcoind] Error 1
    make[2]: Waiting for unfinished jobs....
    /usr/bin/ld: /usr/local/lib/libdb_cxx-4.8.a(os_yield.o): in function `__os_yield':
    os_yield.c:(.text+0xd1): undefined reference to `pthread_yield'
    collect2: error: ld returned 1 exit status
    make[2]:  [Makefile:9020: bitcoin-wallet] Error 1
    make[2]: Leaving directory '/home/bitcoin/Downloads/bitcoin/src'
    make[1]:  [Makefile:21251: all-recursive] Error 1
    make[1]: Leaving directory '/home/bitcoin/Downloads/bitcoin/src'
    make:  [Makefile:798: all-recursive] Error 1 ```
    
    
  2. BlockMechanic added the label Bug on Oct 30, 2022
  3. BlockMechanic commented at 2:20 PM on October 30, 2022: contributor

    fixed, recompiled db4

  4. BlockMechanic closed this on Oct 30, 2022

  5. fanquake removed the label Bug on Nov 1, 2022
  6. fanquake locked this on Nov 1, 2022
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me