Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make build error #180

Open
automaticly opened this issue Jun 5, 2018 · 3 comments
Open

make build error #180

automaticly opened this issue Jun 5, 2018 · 3 comments

Comments

@automaticly
Copy link

automaticly commented Jun 5, 2018

在 make build的时候报错了,不知道什么原因,求解答

localhost:go-nebulas baizhaolei$ make build 
cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=a7aaa0aaef2677038562356e1bbdccfb848d2fb4 -X main.branch=master -X main.compileAt=`date +%s`" -o ../../neb-a7aaa0aaef2677038562356e1bbdccfb848d2fb4
# github.com/nebulasio/go-nebulas/vendor/github.com/tecbot/gorocksdb
ld: library not found for -lsnappy
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [build] Error 2
@yupnano yupnano changed the title localhost:go-nebulas baizhaolei$ make build cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=a7aaa0aaef2677038562356e1bbdccfb848d2fb4 -X main.branch=master -X main.compileAt=date +%s" -o ../../neb-a7aaa0aaef2677038562356e1bbdccfb848d2fb4 # github.com/nebulasio/go-nebulas/vendor/github.com/tecbot/gorocksdb ld: library not found for -lsnappy clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [build] Error 2 make build error Jun 15, 2018
@yupnano
Copy link
Contributor

yupnano commented Jun 15, 2018

与issue #197 相同。
应该是rocksDB没有安装好,请参考tutorial中的安装步骤:
https://github.com/nebulasio/wiki/blob/master/tutorials/%5B%E4%B8%AD%E6%96%87%5D%20Nebulas%20101%20-%2001%20%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85.md#mac-osx-1

@yupnano
Copy link
Contributor

yupnano commented Jul 2, 2018

类似issue: nebulasio/go-nebulas#143

@weiht12
Copy link

weiht12 commented Dec 5, 2018

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/
(英文);https://wiki.nebulas.io/zh_CN/latest/ (中文)
Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants