linuxshellhyperledger-fabricbinhyperledger-fabric-ca

GLIBC_2.28 not found (required by ./fabric-ca-server)


I try to initialize Fabric CA server by command:

./fabric-ca-server init -b {user}:{password}

and receive:

./fabric-ca-server: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./fabric-ca-server)

I read that updating of GLIBC_2.28 is risky. Help me please.


Solution

  • fabric-ca-server binaries are built on Ubuntu. The version of Ubuntu that was used will depend on the version of fabric-ca-server you are trying to use.

    Whatever version of fabric-ca-server you are trying to run it won't run on your version of linux due fabric-ca-server now requiring a specific capability that is in GLIBC_2.28 or higher.

    If you need a specific version of fabric-ca-server running on a specific distribution and version of linux you will need to clone the github repo for fabric-ca (checkout the appropriate tag for the version you want) and build the code yourself with the correct version of the GoLang compiler and other dependencies.