From: Alecks Gates <alecks.g@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Brother scanner wants libusb-0.1.so.4
Date: Wed, 05 Oct 2016 17:19:50 -0500 [thread overview]
Message-ID: <1475705990.4599.82.camel@gmail.com> (raw)
In-Reply-To: <20161005214519.GA79882@becker.bs.l>
On Wed, 2016-10-05 at 23:45 +0200, Bertram Scharpf wrote:
> Hi,
>
> my olde Brother printer/scanner device MFC-7420 needs
> libraries that are provided as binaries on the Brother site.
> Until I switched to amd64 they worked well on a x64 system.
>
> Now I loaded down the amd64 version but it doesn't work. The
> problem seems to be a library load.
>
> # SANE_DEBUG_DLL=1 scanimage -L
> [sanei_debug] Setting debug level of dll to 1.
> [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends
> 1.0.24
> [dll] load: dlopen() failed (libusb-0.1.so.4: cannot open shared
> object file: No such file or directory)
> ...
>
> No scanners were identified. ...
>
> Indeed, "libusb-0.1.so.4" is hardcoded in
> "libsane-brother2.so". The libraries present are
>
> # equery b /lib64/libusb-*
> * Searching for /lib64/libusb-1.0.so.0,/lib64/libusb-1.0.so.0.1.0
> ...
> dev-libs/libusb-1.0.19-r1 (/lib64/libusb-1.0.so.0.1.0)
> dev-libs/libusb-1.0.19-r1 (/lib64/libusb-1.0.so.0 -> libusb-
> 1.0.so.0.1.0)
>
> When I use brute force and symlink 0.1 to 1.0 I get another
> error that doesn't actually surprise me.
>
> # ln -s libusb-1.0.so.0.1.0 libusb-0.1.so.4
> # SANE_DEBUG_DLL=1 scanimage -L
> [sanei_debug] Setting debug level of dll to 1.
> [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends
> 1.0.24
> [dll] load: dlopen() failed (/usr/lib64/sane/libsane-brother2.so.1:
> undefined symbol: usb_busses)
> ...
>
> Brother provides a source package but I cannot compile that
> because it isn't even complete, and when I mail them, they
> don't answer.
>
> Is there _any_ way to solve this?
>
> Thanks in advance.
>
> Bertram
>
>
I recently started using the brother-overlay[0], and so far the drivers
have "just worked" for me. I can't tell offhand if your driver is
included there.
[0] https://github.com/stefan-langenmaier/brother-overlay
Alecks Gates
next prev parent reply other threads:[~2016-10-05 22:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 21:45 [gentoo-user] Brother scanner wants libusb-0.1.so.4 Bertram Scharpf
2016-10-05 22:19 ` Alecks Gates [this message]
2016-10-07 4:23 ` [gentoo-user] " Jonathan Callen
2016-10-07 5:53 ` Bertram Scharpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475705990.4599.82.camel@gmail.com \
--to=alecks.g@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox