• Welcome to the new forum! We upgraded our forum software with a host of new boards, capabilities and features. It is also more secure.
    Jump in and join the conversation! You can learn more about the upgrade and new features here.

Error while loading shared libaries on Kubuntu 16.10

dentonbirch

Apprentice
Joined
Sep 27, 2016
Messages
11
Reaction score
0
Fresh install of Kubuntu 16.10
Installed latest Beersmith 2.3.7 (2.3.8 has same problem!)

Error when running...

error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Seems libpng1.2 has been superseded by libpng1.6

Although it can still be downloaded and installed manually from... https://launchpad.net/ubuntu/yakkety/+package/libpng12-0

*** Please update BS to support new libpng16 ***

Also all tool tips are blank once BS is running! (Actually just fixed this) Appearance -> Colors -> Options: Disable  "Apply colors to non-QT-applications"
 
I have the same issue with Ubuntu 16.10 and Arch Linux. Arch used to have a libpng12 in AUR, but its been deleted and 1.6 superseded it.
 
Same here. I had Beersmith2.2.12 working fine on Ubuntu 16.04. I upgraded to Ubuntu 16.10 and Beersmith failed to start with this error:
Code:
beersmith2: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

I upgraded Beersmith to 2.3.7 but it still didn't work.

I fixed the issue by manually installing libpng12-0 from the Xenial repo.
Download and install libpng12-0 from here: http://packages.ubuntu.com/xenial/libpng12-0
That, combined with Beersmith 2.3.7, works fine on Ubuntu 16.10 for me.
 
At least on Arch, there is *still* a package libpng12: https://www.archlinux.org/packages/community/x86_64/libpng12/
 
This appears to still be an issue with BeerSmith 2.3.12.  Using Ubuntu 16.10, program fails to load with the same error.  Manually installed the deprecated libpng12 per the above links as a work around.

 
Back
Top