ltdl.h构建链码时未发现错误 [英] ltdl.h Not found error while building chaincode

查看:113
本文介绍了ltdl.h构建链码时未发现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用go build建立链码.当我运行Go build命令时,其报告

I am trying to build a chaincode by using go build. when i run Go build command its reporting

.\hyperledger\fabric\vendor\github.com\miekg\pkcs11\pkcs11.g‌​o:29:18: 
fatal error:ltdl.h: No such file or directory
compilation terminated

我通过链接安装了libtools.但是我遇到了同样的错误

I installed libtools from this link. But I am getting the same error

推荐答案

它在ubuntu上对我有用: sudo apt install libltdl-dev

It worked for me on ubuntu: sudo apt install libltdl-dev

这篇关于ltdl.h构建链码时未发现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆