bitcoin-cli not working on Ubuntu 12.04 due to glibc 2.17 dependency #7420

issue dlogicman opened this issue on January 26, 2016
  1. dlogicman commented at 1:31 PM on January 26, 2016: none

    I tested the 0.12.0rc2 release on my server running Ubuntu 12.04.5 LTS and got the following error:

    bitcoin@server:~$ ~bitcoin/bitcoin-0.12.0/bin/bitcoin-cli
    /home/bitcoin/bitcoin-0.12.0/bin/bitcoin-cli: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /home/bitcoin/bitcoin-0.12.0/bin/bitcoin-cli)
    

    Ubuntu 12.04 is currently shipped with this glibc version:

    bitcoin@server:~$ ldd --version
    ldd (Ubuntu EGLIBC 2.15-0ubuntu10.12) 2.15
    

    Unfortunately I am not very familiar with linker dependencies to resolve this myself, but this might help:

    bitcoin@server:~$ objdump -T ~bitcoin/bitcoin-0.12.0/bin/bitcoin-cli |grep GLIBC_2.17
    0000000000000000      DF *UND*  0000000000000000  GLIBC_2.17  clock_gettime
    

    Ubuntu 12.04 is still actively maintained and I cannot switch to a current Ubuntu release in the near future so I hope this issue can be resolved.

    bitcoind seems to be OK, could be started and is running.

  2. theuni commented at 6:19 PM on January 26, 2016: member

    Grr, these checks never got added to the buildsystem. That's my fault, doing that now.

  3. jonasschnelli added the label Build system on Jan 26, 2016
  4. jonasschnelli added the label Bug on Jan 26, 2016
  5. theuni referenced this in commit a8ce872118 on Jan 27, 2016
  6. laanwj closed this on Jan 27, 2016

  7. laanwj referenced this in commit aa26ee0101 on Jan 27, 2016
  8. rebroad referenced this in commit 148388901d on Dec 7, 2016
  9. MarcoFalke locked this on Sep 8, 2021

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-18 18:15 UTC

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