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