I can't tell what's going wrong here. It seems like the system can't find a lib, even though it looks like it's there. I've tried to build kipi-plugins from SBo and digikam from SBo which includes an internal kipi-plugins. Both fail at the same point with the same error:
QtSvg.so /usr/lib64/libkdecore.so.5.8.0 /usr/lib64/qt/lib/libQtDBus.so /usr/lib64/qt/lib/libQtGui.so /usr/lib64/qt/lib/libQtCore.so -lpthread -Wl,-rpath,/tmp/SBo/digikam-2.9.0/build/lib:/usr/lib64/qt/lib:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libsane.so.1, needed by /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../lib64/libksane.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../lib64/libksane.so: undefined reference to `sane_read'
As I say, that lib seems to be present, and in the place the build script is looking too:
tappy@drbunsen:/usr/lib64$ ls -l | grep ksan
lrwxrwxrwx 1 root root 13 Feb 22 18:02 libksane.so -> libksane.so.0*
lrwxrwxrwx 1 root root 17 Feb 22 18:02 libksane.so.0 -> libksane.so.0.2.0*
-rwxr-xr-x 1 root root 271688 Aug 7 2012 libksane.so.0.2.0*
Any help gratefully accepted.