libpng12.so.0: Cannot Open Shared Object File

On some Linux distributions, like OpenSUSE, the default version of the libpng library is different from what QuantumATK needs. If you get the error message

ImportError: libpng12.so.0: cannot open shared object file: No such file or directory

when launching NanoLab, you need to install libpng12.so (most likely you have libpng14.so, in /usr/lib).

To install the older library version, launch the package manager Yast2 (as root/admin) and search for “libpng”. In the list of matches, pick and install the “libpng12-0” package.

Note

The two library versions libpng12 and libpng14 do not conflict and can safely be installed side-by-side.