Iscan and Slackware 14.0

From Studiosg
Revision as of 14:55, 2 January 2013 by Wikiuser (talk | contribs) (Created page with 'Welcome to Simone Giustetti's wiki pages. Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=iscan_per_Slackware_14.0 Italiano] ---- Slackware 14.0 was…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Welcome to Simone Giustetti's wiki pages.


Languages: English - Italiano


Slackware 14.0 was officially released 19th September 2012. Among the many new features and updates for the major release is an update to the PNG library header file path. Sadly this particular update breaks the *.Slackbuild files i distributed with older articles: en/iscan_software and en/iscan_software_64_bit, preventing the build procedure to successfully conclude. The issue arises during iscan package source code compilation resulting in the following error message:

  /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: ../lib/.libs/libimage-
  stream.a(libimage_stream_la-pngstream.o): undefined reference to symbol 'png_set_longjmp_fn@@PNG14_0'
  /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'png_set_longjmp
  _fn@@PNG14_0' is defined in DSO /usr/lib/libpng14.so.14 so try adding it to the linker command line

The problem can be solved updating the package source code and more specifically file /lib/pngstream.hh. Line 45: #include <png.h> should be replaced with the right header path: #include <libpng12/png.h> (Thanks to Mario P. for the tip). A patch for the file can be downloaded from address: [Iscan PNG patch]. The patch can be applied following some easy steps:

  • Move to the directory /tmp/iscan where package build takes place.
  • Copy previously downloaded file iscan_png.patch.
  • Run command: patch -p01 -i iscan_png.patch .

Then rerun command make to start source code compiling.

A Slackbuild file updated for automatic patch apply during package build can be downloaded from link: [Iscan per Slackware 14.0]. The build script is based on Iscan release 2.28.1, the latest available at present. A build script for the related iscan-data package updated for the latest stable release is available from link: [Iscan Data 1.13.0].

The links to the Image Scan 2.28.1 and Image Scan Data 1.13.0 slackware packages follow. The packages are distributed in the hope they could be helpful:

Were you willing to try and build your own packages, please refer to my previous articles en/iscan_software and en/iscan_software_64_bit where step to step instructions are provided.


For any feedback, questions, errors and such, please e-mail me at studiosg [at] giustetti [dot] net


External links


Avasys Corporation

Avasys Corporation download page

Gimp home page

Slackware home page



Languages: English - Italiano