Why build error for fabric-1.0.0-alpha?


hlt-2000 <hlt-2000@...>
 

Hi
I checked out fabric-1.0.0-alpha code and tried to build orderer and peer, but occur errors, here is the log:
[orderer]:
build/bin/orderer
CGO_CFLAGS=" " GOBIN=/root/gocode/src/github.com/hyperledger/fabric/build/bin go install -ldflags "-X github.com/hyperledger/fabric/common/metadata.Version=1.0.0-alpha -X github.com/hyperledger/fabric/common/metadata.BaseVersion=0.3.0 -X github.com/hyperledger/fabric/common/metadata.BaseDockerLabel=org.hyperledger.fabric" github.com/hyperledger/fabric/orderer
# 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

What is ' ltdl.h ' ? Why Go can't find it?

Could you help for this? Thank you!

BR
He Luting


 


Gari Singh <garis@...>
 

I replied to your other related / similar note

-----------------------------------------
Gari Singh
Distinguished Engineer, Blockchain CTO
IBM Middleware
550 King St
Littleton, MA 01460
Work: 978-899-2903
Cell: 978-846-7499
garis@...
-----------------------------------------
 
 

----- Original message -----
From: hlt-2000 <hlt-2000@...>
Sent by: hyperledger-fabric-bounces@...
To: hyperledger-fabric@...
Cc:
Subject: [Hyperledger-fabric] Why build error for fabric-1.0.0-alpha?
Date: Thu, May 25, 2017 6:22 AM
 
Hi
I checked out fabric-1.0.0-alpha code and tried to build orderer and peer, but occur errors, here is the log:
[orderer]:
build/bin/orderer
CGO_CFLAGS=" " GOBIN=/root/gocode/src/github.com/hyperledger/fabric/build/bin go install -ldflags "-X github.com/hyperledger/fabric/common/metadata.Version=1.0.0-alpha -X github.com/hyperledger/fabric/common/metadata.BaseVersion=0.3.0 -X github.com/hyperledger/fabric/common/metadata.BaseDockerLabel=org.hyperledger.fabric" github.com/hyperledger/fabric/orderer
# 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
 
What is ' ltdl.h ' ? Why Go can't find it?
 
Could you help for this? Thank you!
 
BR
He Luting
 

 

_______________________________________________
Hyperledger-fabric mailing list
Hyperledger-fabric@...
https://lists.hyperledger.org/mailman/listinfo/hyperledger-fabric