How to solve ltdl h No such file or directory error

0 votes

I am building a chaincode and when I run go build command, I am getting the error:

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

How to solve this?

Jul 26, 2018 in Blockchain by digger
• 26,740 points
3,160 views

1 answer to this question.

0 votes

It seems like you are missing header files and static libraries for the libltdl package in your system.

First install the libltdl package by running the following command:

sudo apt install libltdl-dev

and then build the chaincode. It should work now.

answered Jul 26, 2018 by slayer
• 29,370 points

Related Questions In Blockchain

+1 vote
1 answer

geth: Fatal: Failed to read genesis file: open “/home/edureka/privatechain/”: no such file or directory

Use this: geth --datadir ./data init ./custom_genesis.json READ MORE

answered Dec 6, 2018 in Blockchain by Omkar
• 69,220 points
3,621 views
0 votes
1 answer

How to solve “error: no objects passed to create” Error?

It seems like a problem with the ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
8,146 views
0 votes
1 answer

Hyperledger Fabric: cp: cannot stat ‘build/docker/gotools/bin/protoc-gen-go’: No such file or directory

Do this: $go get -u github.com/golang/protobuf/protoc-gen-go $ cp $GOPATH/bin/protoc-gen-go build/docker/gotools/bin/ Now ...READ MORE

answered Oct 29, 2018 in Blockchain by Omkar
• 69,220 points
1,869 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,436 views
0 votes
1 answer

How to solve “Error: Expected a Resource or Concept”?

There are few errors in code. I ...READ MORE

answered Jul 31, 2018 in Blockchain by slayer
• 29,370 points
1,218 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP