question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] chia b27's clvm_rs failing on CentOS 7.9 - GLIBC_2.18 not found

See original GitHub issue

Describe the bug CentOS 7 comes with glibc 2.17, and the latest release of chia seems to be asking for glibc 2.18

To Reproduce Install b27, and chia init

$ chia init
Traceback (most recent call last):
  File "/opt/chia/venv/bin/chia", line 33, in <module>
    sys.exit(load_entry_point('chia-blockchain', 'console_scripts', 'chia')())
  File "/opt/chia/src/cmds/chia.py", line 57, in main
    parser = create_parser()
  File "/opt/chia/src/cmds/chia.py", line 45, in create_parser
    mod = importlib.import_module("src.cmds.%s" % subcommand)
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/chia/src/cmds/init.py", line 13, in <module>
    from src.consensus.coinbase import create_puzzlehash_for_pk
  File "/opt/chia/src/consensus/coinbase.py", line 5, in <module>
    from src.types.coin import Coin
  File "/opt/chia/src/types/coin.py", line 9, in <module>
    from src.util.streamable import streamable, Streamable
  File "/opt/chia/src/util/streamable.py", line 11, in <module>
    from src.types.program import Program, SerializedProgram
  File "/opt/chia/src/types/program.py", line 15, in <module>
    from clvm_rs import serialize_and_run_program, STRICT_MODE
ImportError: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /opt/chia/venv/lib/python3.7/site-packages/clvm_rs.cpython-37m-x86_64-linux-gnu.so)
(venv) [arthur@crypto chia]$ cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • OS Version/Flavor: CentOS 7.9
  • CPU: Intel® Xeon® CPU E5-2680 v4 @ 2.40GHz

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
af85commented, Feb 15, 2021

To be honest, this is the nail in the coffin for co7 for me, at least for home use. I’m working on sorting my data, and will rebuild with ubu-20.04 tonight. I’ll try this out before the rebuild in case anyone else is watching.

0reactions
hoffmang9commented, Feb 15, 2021

Great on both!

Read more comments on GitHub >

github_iconTop Results From Across the Web

GLIBC_2.18 not found · Issue #1805 · Automattic/node-canvas
Issue or Feature Upgrade canvas version 2.8.0, throw error when starting node.js application, the error message: error: /lib64/libc.so.6: version ...
Read more >
Webrtc on centos7 gives GLIBC_2.18 not found - Stack Overflow
This error means that gn has been built on a GLIBC-2.18 (or later) system, and requires GLIBC-2.18 to run. Any pointers on how...
Read more >
Reverting installation of glibc to CentOS libraries
In my attempt to resolve the error, I decided to compile and install GLIBC_2.18 myself through the GNU repository (which, in retrospect, ...
Read more >
Help - Error - /lib64/libc.so.6: version `GLIBC_2.18' not found
Hiya, I installed a fresh CentOS 7.9 on a VM and ran all package updates. I am trying to setup an app and...
Read more >
Firefox beta 78.0b1 requires glibc 2.18 on Linux, not 2.17 as ...
XPCOMGlueLoad error for file /usr/local/firefox/libxul.so: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /usr/local/firefox/libxul.so) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found