yacovm / fabricDeployment

A simple tool that deploys Hyperledger Fabric to remote servers
MIT License
70 stars 29 forks source link

peer isn't found, aborting! #6

Open akashsethi24 opened 6 years ago

akashsethi24 commented 6 years ago

I am getting the following error while running the deploy.sh Script

build/bin/peer CGO_CFLAGS=" " GOBIN=/home/akash/Documents/Apps/go/src/github.com/hyperledger/fabric/build/bin go install -tags "" -ldflags "-X github.com/hyperledger/fabric/common/metadata.Version=1.0.5-snapshot-ad68580 -X github.com/hyperledger/fabric/common/metadata.BaseVersion=0.3.2 -X github.com/hyperledger/fabric/common/metadata.BaseDockerLabel=org.hyperledger.fabric -X github.com/hyperledger/fabric/common/metadata.DockerNamespace=hyperledger -X github.com/hyperledger/fabric/common/metadata.BaseDockerNamespace=hyperledger" github.com/hyperledger/fabric/peer

github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11

vendor/github.com/miekg/pkcs11/pkcs11.go:29:18: fatal error: ltdl.h: No such file or directory compilation terminated. Makefile:227: recipe for target 'build/bin/peer' failed make: *** [build/bin/peer] Error 2 cp: cannot stat '/home/akash/Documents/Apps/go/src/github.com/hyperledger/fabric/build/bin/peer': No such file or directory build/bin/cryptogen CGO_CFLAGS=" " GOBIN=/home/akash/Documents/Apps/go/src/github.com/hyperledger/fabric/build/bin go install -tags "" -ldflags "-X github.com/hyperledger/fabric/common/tools/cryptogen/metadata.Version=1.0.5-snapshot-ad68580" github.com/hyperledger/fabric/common/tools/cryptogen

github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11

vendor/github.com/miekg/pkcs11/pkcs11.go:29:18: fatal error: ltdl.h: No such file or directory compilation terminated. Makefile:227: recipe for target 'build/bin/cryptogen' failed make: *** [build/bin/cryptogen] Error 2 cp: cannot stat '/home/akash/Documents/Apps/go/src/github.com/hyperledger/fabric/build/bin/cryptogen': No such file or directory peer isn't found, aborting!

92Emzee commented 6 years ago

try to apply this command: sudo apt-get install -y libltdl3-dev