fabric-ca 1.1 安装过程记录

2018-08-07  本文已影响0人  王明月的新博客

fabric-ca 下载到本地

go get -u github.com/hyperledger/fabric-ca
cd $GOPATH/src/github.com/hyperledger/fabric-ca
make fabric-ca-server
make fabric-ca-client

出错

[root@fabric-ca]# make fabric-ca-server
Building fabric-ca-server in bin directory ...
# github.com/hyperledger/fabric-ca/vendor/github.com/miekg/pkcs11
vendor/github.com/miekg/pkcs11/pkcs11.go:26:18: fatal error: ltdl.h: No such file or directory
 #include <ltdl.h>
                  ^
compilation terminated.
make: *** [bin/fabric-ca-server] Error 2

解决办法:
Centos7下运行命令

 yum install libtool-ltdl-devel
上一篇 下一篇

猜你喜欢

热点阅读