Libpng issue on ubuntu 18.04

libpng error: Read Error

I have reinstall all lib also libpng12 and -dev but I can’t render with cycles on Ubuntu 18.04


Blender 2.79 (sub 0), Commit date: 2018-03-22 14:10, Hash f4dc9f9d68b

bpy.context.space_data.viewport_shade = ‘MATERIAL’ # Property
bpy.context.space_data.viewport_shade = ‘RENDERED’ # Property


blender(BLI_system_backtrace+0x20) [0x1a6c700]
blender() [0x1078395]
/lib/x86_64-linux-gnu/ [0x7f462329df20]
blender() [0x393c9d2]
blender(jpeg_start_decompress+0x86) [0x391fbf6]
blender(_ZN11OpenImageIO4v1_78JpgInput4openERKSsRNS0_9ImageSpecE+0x1bae) [0x333697e]
blender(ZN11OpenImageIO4v1_78JpgInput4openERKSsRNS0_9ImageSpecERKS4+0x8c) [0x333307c]
blender(ZN3ccl12ImageManager23file_load_image_genericEPNS0_5ImageEPPN11OpenImageIO4v1_710ImageInputERiS8_S8_S8+0x512) [0x1f11fd2]
blender(_ZN3ccl12ImageManager15file_load_imageILN11OpenImageIO4v1_78TypeDesc8BASETYPEE2EhNS_6uchar4EEEbPNS0_5ImageENS_13ImageDataTypeEiRNS_13device_vectorIT1_EE+0x5a) [0x1f1a30a]
blender(_ZN3ccl12ImageManager17device_load_imageEPNS_6DeviceEPNS_11DeviceSceneEPNS_5SceneENS_13ImageDataTypeEiPNS_8ProgressE+0xa00) [0x1f142d0]
blender(_ZNSt17_Function_handlerIFviESt5_BindIFMN3ccl12ImageManagerEFvPNS2_6DeviceEPNS2_11DeviceSceneEPNS2_5SceneENS2_13ImageDataTypeEiPNS2_8ProgressEEPS3_S5_S7_S9_SA_mSC_EEE9_M_invokeERKSt9_Any_dataOi+0x3e) [0x1f1558e]
blender(_ZN3ccl13TaskScheduler10thread_runEi+0x83) [0x2a0ce33]
blender(_ZN3ccl6thread3runEPv+0xe) [0x2a0ea2e]
/lib/x86_64-linux-gnu/ [0x7f4624ab86db]
/lib/x86_64-linux-gnu/ [0x7f462338088f]

I try to use the last build but I have the same result with official 2.79b, with CPU and GPU render.

Do you have a fresh installation of Ubuntu 18.04? Or have you upgraded from a previous version?
I have Kubuntu 18.04 (same repositories as Ubuntu 18.04) and I have no problem running official Blender (tar.bz2 files downloaded from official site).
dev packages are libraries needed to compile/build. To run/execute, runtime packages are necessary. Related to libpng, I only have “libpng16-16” installed.

I Yafu, no I have upgrade from 17.10, now I’m trying to install a a fresh installation.
I hope that resolve or I downgrade to 16.04
thank you

Thanks YAFU the issue was there, on fresh installation of 18.04 all works right, I have to keep in mind this tips for next time upgrade.