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

Can't run on Ubuntu: cannot open shared object file #31

Closed
s-tikhomirov opened this issue Nov 7, 2018 · 7 comments
Closed

Can't run on Ubuntu: cannot open shared object file #31

s-tikhomirov opened this issue Nov 7, 2018 · 7 comments

Comments

@s-tikhomirov
Copy link

On running the binary on Ubuntu 16.04 LTS I get:

./zec-qt-wallet: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
@adityapk00
Copy link
Collaborator

Thanks for filing the bug. It looks like you need to install libpng16, which you can do with
sudo apt install libpng16-16

I thought it was included by default in Ubuntu, but maybe not. Let me look into a more permanent solution.

@s-tikhomirov
Copy link
Author

@adityapk00 the next error I get is:

./zec-qt-wallet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ./zec-qt-wallet)

Possibly it would be helpful to include the full list of dependencies in the Readme.

@adityapk00
Copy link
Collaborator

Thank you for following up. I tried it on a clean 16.04 install, and I think I can see the problem. Give me a couple of hours to get back to you.

@adityapk00
Copy link
Collaborator

The problem is Ubuntu 16.04 doesn't ship with the version of GLIBC needed by the C++14 compiler I'm using. Easiest way is to probably upgrade to a newer OS, but I'm trying to make it compile with an older glibc.

@adityapk00
Copy link
Collaborator

OK, I have a tentative build for Ubuntu 16.04 if you want to try it and let me know:
ubuntu1604-zec-qt-wallet-v0.2.9.tar.gz

@adityapk00
Copy link
Collaborator

Side Note: The problem is Ubuntu 16.04 ships with a really old version of GLIBC (2.23), which means zec-qt-wallet needs to be specifically compiled with an older glibc.

Seems to work fine on Ubuntu 16.10 and higher

@adityapk00
Copy link
Collaborator

The problem was a GLIBC 2.25 dependency on getentropy(). Removed this dependency, and now it should work with older distros as well.

Available in v0.3.2 https://t.co/0sIUACVunP

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

2 participants