* [gentoo-user] Brother scanner wants libusb-0.1.so.4
@ 2016-10-05 21:45 Bertram Scharpf
2016-10-05 22:19 ` Alecks Gates
2016-10-07 4:23 ` [gentoo-user] " Jonathan Callen
0 siblings, 2 replies; 4+ messages in thread
From: Bertram Scharpf @ 2016-10-05 21:45 UTC (permalink / raw
To: gentoo-user
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
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Brother scanner wants libusb-0.1.so.4
2016-10-05 21:45 [gentoo-user] Brother scanner wants libusb-0.1.so.4 Bertram Scharpf
@ 2016-10-05 22:19 ` Alecks Gates
2016-10-07 4:23 ` [gentoo-user] " Jonathan Callen
1 sibling, 0 replies; 4+ messages in thread
From: Alecks Gates @ 2016-10-05 22:19 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Brother scanner wants libusb-0.1.so.4
2016-10-05 21:45 [gentoo-user] Brother scanner wants libusb-0.1.so.4 Bertram Scharpf
2016-10-05 22:19 ` Alecks Gates
@ 2016-10-07 4:23 ` Jonathan Callen
2016-10-07 5:53 ` Bertram Scharpf
1 sibling, 1 reply; 4+ messages in thread
From: Jonathan Callen @ 2016-10-07 4:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1890 bytes --]
On 10/05/2016 05:45 PM, 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
>
To get libusb-0.1.so.4, you need to install dev-libs/libusb-compat
(which uses the new libusb 1.0 to provide the old libusb 0.1 API).
--
Jonathan Callen
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 829 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: Brother scanner wants libusb-0.1.so.4
2016-10-07 4:23 ` [gentoo-user] " Jonathan Callen
@ 2016-10-07 5:53 ` Bertram Scharpf
0 siblings, 0 replies; 4+ messages in thread
From: Bertram Scharpf @ 2016-10-07 5:53 UTC (permalink / raw
To: gentoo-user
On Friday, 07. Oct 2016, 00:23:54 -0400, Jonathan Callen wrote:
> On 10/05/2016 05:45 PM, Bertram Scharpf wrote:
> >
> > # 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)
> > ...
>
> To get libusb-0.1.so.4, you need to install dev-libs/libusb-compat
> (which uses the new libusb 1.0 to provide the old libusb 0.1 API).
Works. Great! Thank you!
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-10-07 5:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05 21:45 [gentoo-user] Brother scanner wants libusb-0.1.so.4 Bertram Scharpf
2016-10-05 22:19 ` Alecks Gates
2016-10-07 4:23 ` [gentoo-user] " Jonathan Callen
2016-10-07 5:53 ` Bertram Scharpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox