While attempting to build Chaincode on Windows 10, an error occurs:
# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11 exec: "gcc": executable file not found in %PATH%
If encountering this error within Ubuntu, execute the following command to install the gcc/g compilers and libraries:
apt-get install build-essential
This should resolve the issue.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3