链码无法编译
来源:7-8 合约部署A
xixixi3432
2018-10-19
mark@mark-virtual-machine:~/go/src/github.com/hyperledger/fabric/imocc/chaincode/assetsExchange$ go build
…/…/…/vendor/github.com/miekg/pkcs11/pkcs11.go:29:10: fatal error: ltdl.h: No such file or directory
#include <ltdl.h>
^~~~~~~~
compilation terminated.
老师,按照您的视频执行go build 发生这个错误
写回答
2回答
-
慕娘6931346
2018-11-04
这个错误我也遇到过,是缺少了代码库,执行这个命令
yum install libtool-ltdl-devel
安装代码库
00 -
自游蜗牛
2018-10-19
亲,你好。使用go build ––tags= nopkcs11 祝你学习愉快!
00
相似问题