FS#28285 - [libharu] Wt based app fails to link to libharu
Attached to Project:
Community Packages
Opened by Miguel Revilla (migrev) - Monday, 06 February 2012, 12:38 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 23 February 2012, 08:00 GMT
Opened by Miguel Revilla (migrev) - Monday, 06 February 2012, 12:38 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 23 February 2012, 08:00 GMT
|
Details
Description:
Since libpng update to 1.5, no application developed with the Wt framework can be compiled, producing the errors: /usr/lib/libhpdf-2.2.1.so: undefined reference to `png_image_width' /usr/lib/libhpdf-2.2.1.so: undefined reference to `png_image_height' Additional info: System fully updated. Checking at upstream, seems like libharu 2.2.1 might have some issues with libpng 1.5. Steps to reproduce: - Create a Wt application. - Try to compile it. |
This task depends upon
Manually upgrading to libharu 2.3.0rc2 and rebuilding Wt did the trick. Everything looks fine now.
and without the need of updating to the the latest rc.
libpng15.patch: http://paste.pocoo.org/raw/555314/ (just done with `sed -i "s/png_image/png_get_image/g" libpng15.patch"`)