Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)
edited by

Following 2 links to setup Hyperledger Fabric 1.0 in the system.

First link Hyperledger-fabric setup

After following commands

 cd $GOPATH/src/github.com/hyperledger/fabric/devenv

    vagrant up

    vagrant ssh

Followed hypeledger latest setup docs

After using

   cd $GOPATH/src/github.com/hyperledger/fabric

    make dist-clean all

An error occurred...

github.com/hyperledger/fabric/vendor/github.com/mattn/go-sqlite3 /usr/bin/ld: cannot find -lrocksdb collect2: error: ld returned 1 exit status Makefile:137: recipe for target 'build/bin/peer' failed make: *** [build/bin/peer] Error 2

On the Left side, my vagrant is running and the right side is my Hyperledger Fabric 1.0 Setup command make dist-clean all

enter image description here

To me this seems to be problem of rocksdb, how can I resolve this?

1 Answer

0 votes
by (29.5k points)

Hi, you can resolve this issue by using following commands-
  

apt-get install librocksdb-dev
    apt-get install libsnappy-dev
    apt-get install libbz2-dev

After this rockdb error should not be there

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.6k answers

500 comments

108k users

Browse Categories

...