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
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!
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!