AndrewFromMelbourne / raspi2png

Utility to take a snapshot of the Raspberry Pi screen and save it as a PNG file
MIT License
213 stars 78 forks source link

Doesn't work on Raspbian Buster: libpng12 dependency issue #26

Closed ZLevine closed 4 years ago

ZLevine commented 4 years ago

I've been using this amazing library for years after setting it up per this guide; however, I tried on a fresh install of Raspbian Buster and get the following error:

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

It looks like raspi2png relies on libpng12, which isn't included in the later versions of Raspbian. Additionally, it can't be installed manually since there's no download link for the armhf version on the package listing.

Any idea what we can do here to get it working? Thanks!

AndrewFromMelbourne commented 4 years ago

Let me have a look

ZLevine commented 4 years ago

Thanks! Let me know if you need help testing anything out.

AndrewFromMelbourne commented 4 years ago

I have pushed a new binary built on Raspbian Buster. Please git it a try and let me know if there are any issues.

ZLevine commented 4 years ago

Tested and working! Thanks a ton.