Gentoo Archives: gentoo-user

From: Bertram Scharpf <lists@×××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Brother scanner wants libusb-0.1.so.4
Date: Wed, 05 Oct 2016 21:45:28
Message-Id: 20161005214519.GA79882@becker.bs.l
1 Hi,
2
3 my olde Brother printer/scanner device MFC-7420 needs
4 libraries that are provided as binaries on the Brother site.
5 Until I switched to amd64 they worked well on a x64 system.
6
7 Now I loaded down the amd64 version but it doesn't work. The
8 problem seems to be a library load.
9
10 # SANE_DEBUG_DLL=1 scanimage -L
11 [sanei_debug] Setting debug level of dll to 1.
12 [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
13 [dll] load: dlopen() failed (libusb-0.1.so.4: cannot open shared object file: No such file or directory)
14 ...
15
16 No scanners were identified. ...
17
18 Indeed, "libusb-0.1.so.4" is hardcoded in
19 "libsane-brother2.so". The libraries present are
20
21 # equery b /lib64/libusb-*
22 * Searching for /lib64/libusb-1.0.so.0,/lib64/libusb-1.0.so.0.1.0 ...
23 dev-libs/libusb-1.0.19-r1 (/lib64/libusb-1.0.so.0.1.0)
24 dev-libs/libusb-1.0.19-r1 (/lib64/libusb-1.0.so.0 -> libusb-1.0.so.0.1.0)
25
26 When I use brute force and symlink 0.1 to 1.0 I get another
27 error that doesn't actually surprise me.
28
29 # ln -s libusb-1.0.so.0.1.0 libusb-0.1.so.4
30 # SANE_DEBUG_DLL=1 scanimage -L
31 [sanei_debug] Setting debug level of dll to 1.
32 [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
33 [dll] load: dlopen() failed (/usr/lib64/sane/libsane-brother2.so.1: undefined symbol: usb_busses)
34 ...
35
36 Brother provides a source package but I cannot compile that
37 because it isn't even complete, and when I mail them, they
38 don't answer.
39
40 Is there _any_ way to solve this?
41
42 Thanks in advance.
43
44 Bertram
45
46
47 --
48 Bertram Scharpf
49 Stuttgart, Deutschland/Germany
50 http://www.bertram-scharpf.de

Replies

Subject Author
Re: [gentoo-user] Brother scanner wants libusb-0.1.so.4 Alecks Gates <alecks.g@×××××.com>
[gentoo-user] Re: Brother scanner wants libusb-0.1.so.4 Jonathan Callen <jcallen@g.o>