[sane-devel] Using "scanimage" under Gentoo

Olaf Meeuwissen paddy-hack at member.fsf.org
Sat Feb 15 02:15:42 GMT 2020


Hi Rainer,

Dr Rainer Woitok writes:

> 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.

Correct.

> 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.

It probably could.  If interested, please submit an issue (or merge
request :-).

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list