Iscan and Slackware 14.0: Difference between revisions

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…'
 
No edit summary
Line 12: Line 12:
   _fn@@PNG14_0' is defined in DSO /usr/lib/libpng14.so.14 so try adding it to the linker command line
   _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).
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 Antonio M. for the tip).
A patch for the file can be downloaded from address: [[http://www.giustetti.net/resource/patch/14.0/iscan/iscan_png.patch Iscan PNG patch]]. The patch can be applied following some easy steps:
A patch for the file can be downloaded from address: [[http://www.giustetti.net/resource/patch/14.0/iscan/iscan_png.patch Iscan PNG patch]]. The patch can be applied following some easy steps:
* Move to the directory '''/tmp/iscan''' where package build takes place.
* Move to the directory '''/tmp/iscan''' where package build takes place.