Navigation Menu

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

libnebulasv8.so: cannot open shared object file: No such file or directory #93

Closed
zm-john opened this issue May 4, 2018 · 5 comments
Closed
Assignees

Comments

@zm-john
Copy link

zm-john commented May 4, 2018

按照中文教程安装步骤一步一步进行,到最后执行 ./neb 时报异常

@zm-john zm-john changed the title libnebulasv8.so: cannot open shared object file: No such file or directory libnebulasv8.so: cannot open shared object file: No such file or directory[[help wanted]] May 4, 2018
@zm-john zm-john changed the title libnebulasv8.so: cannot open shared object file: No such file or directory[[help wanted]] libnebulasv8.so: cannot open shared object file: No such file or directory May 4, 2018
@gwsh1234
Copy link

gwsh1234 commented May 4, 2018

我也遇到了这个问题。
[root@localhost go-nebulas]# ./neb ./neb: error while loading shared libraries: libnebulasv8.so: cannot open shared object file: No such file or directory
CentOS7.0

@ChengOrangeJu
Copy link
Contributor

ChengOrangeJu commented May 4, 2018

Hello @zm-john @gwsh1234
Here could be possible solutions
(1) Clone the repo and make sure the make deploy-v8 is executed. Make sure the installation is run step by step.

cd $GOPATH/src/github.com/nebulasio/go-nebulas
make deploy-v8

(2) if it is still not work, try to use ldconfig to create the necessary links and cache to the most recent shared libraries found in the directories specified on the command line

@ChengOrangeJu ChengOrangeJu self-assigned this May 4, 2018
@gwsh1234
Copy link

gwsh1234 commented May 4, 2018

Replay : @ChengOrangeJu
I had been ran this code once agian.
cd $GOPATH/src/github.com/nebulasio/go-nebulas make deploy-v8
The console print this code

[root@localhost go-nebulas]# make deploy-v8 sudo install nf/nvm/native-lib/*.so /usr/local/lib/ sudo /sbin/ldconfig
After this ,I try to [root@localhost go-nebulas]# ./neb -c conf/default/config.conf and got the same result on console.

I can't distinguish make deploy-v8 from result success or not ,because i had ran this code before.
Maybe the first method is inoperative.

Can u description more specific about the second method and how can i use ldconfig to create the necessary links and so on?

@Syuam
Copy link

Syuam commented May 4, 2018

maybe you should run
echo "/usr/local/lib" >> /etc/ld.so.conf
and then run
cd $GOPATH/src/github.com/nebulasio/go-nebulas
make deploy-v8

@ChengOrangeJu
Copy link
Contributor

Thanks @Syuam

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

4 participants