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

nScope binary requires libpng12, which is no longer supplied by Ubuntu #31

Open
mgolden opened this issue Nov 21, 2016 · 5 comments
Open

nScope binary requires libpng12, which is no longer supplied by Ubuntu #31

mgolden opened this issue Nov 21, 2016 · 5 comments
Labels

Comments

@mgolden
Copy link

@mgolden mgolden commented Nov 21, 2016

When I upgraded my (k)ubuntu system to 16.10, and re-installed nScope, it was failing to start up with this error:
$ nScope
nScope: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

You can't install libpng12 from the ubuntu16.10 (Yakkety) repos - because libpng 1.2 is quite old and really isn't supported anymore (see http://libpng.sourceforge.net/).

The workaround is pull the old version from old builds and manually install - see eg:
http://askubuntu.com/questions/838949/ubuntu-16-10-teamvieweri386-depends-on-libpng12-0

wget http://se.archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
sudo dpkg -i libpng12-0_1.2.54-1ubuntu1_amd64.deb

nScope should be rebuilt to use libpng 1.6, which is the most up-to-date version.

@davidjmeyer
Copy link
Member

@davidjmeyer davidjmeyer commented Oct 4, 2017

Thanks for this.

To work around, add the following line to the software sources list
deb http://cz.archive.ubuntu.com/ubuntu xenial main

then install libpng12-0 with
sudo apt-get install libpng12-0

@mgolden
Copy link
Author

@mgolden mgolden commented Oct 4, 2017

Do we know if this archive is making updates to libpng12 if there are security bugs? It's not a great idea to continue to depend on unsupported software.

@davidjmeyer
Copy link
Member

@davidjmeyer davidjmeyer commented Oct 4, 2017

For v0.8.0, the toolchain is the default on Ubuntu 16.04 LTS, which is libpng12.

I’ll update the tool chain for the next release.

@mgolden
Copy link
Author

@mgolden mgolden commented Oct 5, 2017

I notice that there is a site http://us.archive.ubuntu.com/ubuntu, and it seems to have libpng12-0, so US users could presumably use that.

@05nelsonm
Copy link

@05nelsonm 05nelsonm commented Mar 25, 2019

When updates?

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.