Not able to run chaincode locally using docker

0 votes

I am getting below error while running learn-chaincode example on my local system please provide me the suitable solution for the mentioned error

$ go build
# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11
exec: "gcc": executable file not found in %PATH%
Sep 18, 2018 in Blockchain by digger
• 26,550 points
34 views

1 answer to this question.

0 votes

Looks like the Fabric team introduced "nopkcs11" tag to bypass the problem - https://jira.hyperledger.org/browse/FAB-2854

I used the following command to build my chain code:

go build -tags nopkcs11
answered Sep 18, 2018 by slayer
• 29,170 points

Related Questions In Blockchain

0 votes
2 answers

Not able to POST chaincode to hyperledger-fabric using API

TypeError: Cannot read property 'curve' of undefined     at ...READ MORE

answered Jan 30 in Blockchain by SHRADDHA
105 views
0 votes
1 answer

Not able to invoke a contract in Ethereum Private chain using geth

Hope this helps: contract mortal { /* ...READ MORE

answered Oct 22, 2018 in Blockchain by Omkar
• 67,660 points
50 views
0 votes
1 answer
0 votes
1 answer

Not able to send payments using Blockchain API.

Try the following code. It should help ...READ MORE

answered Jul 31, 2018 in Blockchain by slayer
• 29,170 points
48 views
0 votes
1 answer

Not able to run Bitcoin’s autogen.sh file.

Installing autoconf and automake would solve the ...READ MORE

answered Aug 22, 2018 in Blockchain by slayer
• 29,170 points
65 views