[sane-devel] Using "scanimage" under Gentoo
Dr Rainer Woitok
rainer.woitok at gmail.com
Fri Feb 14 10:38:48 GMT 2020
Olaf,
On Wednesday, 2020-02-12 20:17:17 +0900, you wrote:
> ...
> You could copy your libsane-$BACKEND.* to wherever libsane.* gets
> installed, i.e. $libdir in ./configure terms.
Ok, since I'm currently installing into my home directory, I get
$ ls -lp lib/
total 336
-rwxr-xr-x 1 rainer rainer 933 2020-02-08 14:52 libsane.la
lrwxrwxrwx 1 rainer rainer 17 2020-02-08 14:52 libsane.so -> libsane.so.1.0.29
lrwxrwxrwx 1 rainer rainer 17 2020-02-08 14:52 libsane.so.1 -> libsane.so.1.0.29
-rwxr-xr-x 1 rainer rainer 327824 2020-02-08 14:52 libsane.so.1.0.29
drwx------ 2 rainer rainer 4096 2020-02-08 14:52 pkgconfig/
drwx------ 2 rainer rainer 4096 2020-02-08 14:52 sane/
$ ls -lp lib/sane/
total 1220
-rwxr-xr-x 1 rainer rainer 963 2020-02-08 14:52 libsane-dll.la
lrwxrwxrwx 1 rainer rainer 21 2020-02-08 14:52 libsane-dll.so -> libsane-dll.so.1.0.29
lrwxrwxrwx 1 rainer rainer 21 2020-02-08 14:52 libsane-dll.so.1 -> libsane-dll.so.1.0.29
-rwxr-xr-x 1 rainer rainer 327808 2020-02-08 14:52 libsane-dll.so.1.0.29
-rwxr-xr-x 1 rainer rainer 991 2020-02-08 14:52 libsane-pixma.la
lrwxrwxrwx 1 rainer rainer 23 2020-02-08 14:52 libsane-pixma.so -> libsane-pixma.so.1.0.29
lrwxrwxrwx 1 rainer rainer 23 2020-02-08 14:52 libsane-pixma.so.1 -> libsane-pixma.so.1.0.29
-rwxr-xr-x 1 rainer rainer 906992 2020-02-08 14:52 libsane-pixma.so.1.0.29
$
If I understand you correctly, I could replace "~/lib/libsane.so.1.0.29"
with a symbolic link to "~/lib/sane/libsane-pixma.so.1.0.29", and that
would just work. Hmm ... isn't that something "make install" could do
on its own, if just a single backend is configured? I do not have any
numbers regarding whether or not people configuring only a single back-
end are the extreme exception, but it could optimize their installation.
Sincerely,
Rainer
More information about the sane-devel
mailing list