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