Hi, Rostislav Svoboda <rostislav.svob...@gmail.com> writes:
> 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. > I've proposed another solution on codeberg, please take a look https://codeberg.org/guix/guix/pulls/541