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 · 4 comments

Comments

Projects
None yet
2 participants
@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.

@davidm2312

This comment has been minimized.

Contributor

davidm2312 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

This comment has been minimized.

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.

@davidm2312

This comment has been minimized.

Contributor

davidm2312 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

This comment has been minimized.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment