When trying to install CrossOver deb I get "Error: Dependency is not satisfiable libpng12-0"

The proposed solution described above didn't work for me on Ubuntu 19.04 with Cisco PacketTracer 7.2.2:

./PacketTracer7: /lib/x86_64-linux-gnu/libpng12.so.0: version `PNG12_0' not found (required by ./libQt5WebKit.so.5)
./PacketTracer7: /lib/x86_64-linux-gnu/libpng12.so.0: version `PNG12_0' not found (required by ./libQt5Gui.so.5)

What did work for me was:

  • download the libpng12-0_1.2.54-1ubuntu1.1_amd64.deb package
  • manually extract it: dpkg -x libpng12-0_1.2.54-1ubuntu1.1_amd64.deb libpng
  • copy the library to the PacketTracer bin directory like so: cp libpng12/lib/x86_64-linux-gnu/libpng12.so.0.54.0 /opt/pt/bin
  • create a symlink: ln -s /opt/pt/bin/libpng12.so.0.54.0 /opt/pt/bin/libpng12.so.0
  • PROFIT

Not sure why Cisco provides all the required libs in the /opt/pt/bin like Qt and such, but somehow 'forgot' to include the older libpng12 lib...