How to install libpng12-0?

  • This topic has 4 replies, 4 voices, and was last updated Feb 18-7:16 pm by Dzhigit.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34968
    Member
    stick

    Hi,
    I needed libpng 1.2 for the driver of my old Canon printer. On Debian > Jessie it is simply no longer available, but Antix Buster provides a package, libpng12-0. However, I could not install it using sudo apt-get install libpng12-0. The problem seems the same as reported here: https://askubuntu.com/questions/1136302/can-not-install-libpng12-so-0-on-ubuntu-19-04-for-packet-tracert-7, i.e. /lib/ has become a symlink to /usr/lib/. The .deb from Debian Jessie will therefore no longer work. As a work-around, I installed the .deb provided by https://askubuntu.com/questions/1136302/can-not-install-libpng12-so-0-on-ubuntu-19-04-for-packet-tracert-7 and this seems to work fine, but it would of course be best to update the repos.

    #54542
    Member
    Dzhigit
    Helpful
    Up
    0
    :D

    Hello antiX developers. I have just encountered this same issue today. Is it possible to fix the libpng12-0 package in antiX?

    #54544
    Member
    skidoo
    Helpful
    Up
    0
    :D

    This is just patched to enable installation on antiX19 (debian buster base).
    A later codebase version (12.54) which probably added further CVE -related patches is available from ubuntu archive.
    https://gitlab.com/skidoo/libpng12-0/-/blob/master/libpng12-0_1.2.50-3~ski_amd64.deb

    You application may, or might not, also require the -dev package:
    https://gitlab.com/skidoo/libpng12-0/-/blob/master/libpng12-dev_1.2.50-3~ski_amd64.deb

    .
    references:

    http://deb.debian.org/debian/pool/main/libp/libpng/libpng_1.2.50.orig.tar.xz
    http://deb.debian.org/debian/pool/main/libp/libpng/libpng_1.2.50-2+deb8u3.debian.tar.xz

    http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz
    http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54-1ubuntu1.debian.tar.xz

    ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng12/libpng-1.2.59.tar.xz

    https://sourceforge.net/p/png-mng/mailman/png-mng-implement/

    https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libpng12-0;dist=unstable
    — none —
    ^–v
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922214
    grave: uninstallable on buster/sid

    #54546
    Forum Admin
    anticapitalista
    Helpful
    Up
    0
    :D

    Try this version: https://download.tuxfamily.org/antix/Testing/

    If ok, I’ll add them to the repos

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

    #54568
    Member
    Dzhigit
    Helpful
    Up
    0
    :D

    Thank you! libpng12-0_1.2.54-1.0antix1_amd64.deb is working for me. I also installed libpng12-0_1.2.54-1.0antix1_i386.deb, libpng12-dev_1.2.54-1.0antix1_amd64.deb, and libpng12-dev_1.2.54-1.0antix1_i386.deb to make sure there weren’t any APT errors, but the program I was using only uses the first one. Also, if anyone else installs these, be warned that these -dev packages will cause APT to uninstall libgtk-3-dev, in case you have that installed.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.