I understand why /usr/lib64/ doesn't work right now on Ubuntu (that's a directory commonly used by Fedora and Red Hat distros).
I don't understand why /usr/lib/sane/ doesn't work according to the comments here. When sane-backends was converted to multiarch, a patch was added that I think was supposed to enable /usr/lib/sane/ to still be supported.
I understand why /usr/lib64/ doesn't work right now on Ubuntu (that's a directory commonly used by Fedora and Red Hat distros).
I don't understand why /usr/lib/sane/ doesn't work according to the comments here. When sane-backends was converted to multiarch, a patch was added that I think was supposed to enable /usr/lib/sane/ to still be supported.
https:/ /jff.email/ cgit/sane- backends. git/commit/ ?id=ac1cb335be /jff.email/ cgit/sane- backends. git/tree/ debian/ patches/ 0125-multiarch_ dll_search_ path.patch
https:/
If that patch worked, then maybe it makes sense to just add /usr/lib64/ there too.
I don't have a scanner myself to test any of this.