GNU bug report logs - #38929
sane-hpaio not found by simple-scan?

Previous Next

Package: guix;

Reported by: Arne Babenhauserheide <arne_bab <at> web.de>

Date: Sat, 4 Jan 2020 22:39:01 UTC

Severity: normal

Full log


Message #17 received at 38929 <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: Vivien Kraus <vivien <at> planete-kraus.eu>, 38929 <at> debbugs.gnu.org,
 78732 <at> debbugs.gnu.org, NoƩ Lopez <noelopez <at> free.fr>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: [bug#78732] [PATCH] gnu: simple-scan: enable scanning over
 network for eSCL/WSD scanners
Date: Mon, 9 Jun 2025 21:38:10 +0200
[Message part 1 (text/plain, inline)]
Hello

> The LD_LIBRARY_PATH looks suspicious.

What exactly is suspicious?

>  Is there any way around it using other SANE tooling?

AFAIK there's no simpler runtime-only solution:
- You could use patchelf to prepend the store's lib/sane directory
onto the binary's RPATH, but that's as even even more fiddly as
setting LD_LIBRARY_PATH
- sane-config only spits out compile-time flags (-I..., -L...,
-lsane); it doesn't tell the loader where to find backends at runtime.

BTW, I've polished the patch. Please ignore the previous one - the
phase name was wrong ("wrap-flatpak" instead of "wrap-simple-scan").


Cheers
[0001-gnu-simple-scan-enable-scanning-over-network-for-eSC.patch (text/x-patch, attachment)]

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.