Missing or broken libpng library

Table of Contents

Description

The libpng library is needed to extract the desktop menu icons. It is also needed by some applications that use PNG images in their user interface in which case its absence typically results in black toolbar icons.

Resolution

On CrossOver 17 and greater, the simplest solution to fix this issue is to run:

/path/to/cxoffice/bin/cxfix missinglibpng missinglibpng.amd64

Or add --show-all to see how CrossOver would fix it on your platform and others.

Alternatively you may try one of the commands below.

  • For 32-bit Windows applications
    • 32-bit Arch Linux : pacman -Syu libpng
    • 64-bit Arch Linux : pacman -Syu lib32-libpng
    • Debian >= 7 : apt-get install libpng12-0:i386
    • Debian >= 9 : apt-get install libpng16-16:i386
    • 32-bit Fedora : yum install libpng
    • 64-bit Fedora : yum install libpng.i686 libpng.x86_64
    • 32-bit openSUSE >= 11.2 : zypper install libpng12-0
    • 64-bit openSUSE >= 11.2 : zypper install libpng12-0-32bit
    • 32-bit openSUSE >= 13.1 : zypper install libpng16-16
    • 64-bit openSUSE >= 13.1 : zypper install libpng16-16-32bit

 

  • For 64-bit Windows applications
    • Arch Linux : pacman -Syu libpng
    • Debian >= 7 : apt-get install libpng12-0:amd64
    • Debian >= 9 : apt-get install libpng16-16:amd64
    • Fedora : yum install libpng.x86_64
    • openSUSE >= 11.2 : zypper install libpng12-0
    • openSUSE >= 13.1 : zypper install libpng16-16

Notes:

  • cxfix --show-all may have more up-to-date fixes.
  • The commands usually also apply to newer versions of the distributions above as well as derived distributions So for instance a fix for Debian 7 may still be valid for the latest Debian Testing and is typically also applicable to Ubuntu, Linux Mint, Deepin and Pop! OS. Similarly a fix for Fedora likely also works on Red Hat Enterprise Linux, CentOS, etc.

Next Step: Missing or broken libpthread.so.0 library

Last modified on 2024-01-15 21:17:45 UTC by Andrew Balfour