Iscan and Slackware 14.0

Revision as of 11:55, 20 January 2016 by Wikiuser (talk | contribs) (Some small fixes and corrections)

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: Iscan software and Iscan for 64 bit Linux, 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 Iscan software and Iscan for 64 bit Linux where step to step instructions are provided.


Updated Packages / Scripts

All software is subject of updates and new releases, adding functionality and supporting newer hardware devices. Packages and scripts updated to a recent Iscan release can be found in the following web page.


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


External links





Languages: English - Italiano