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

Reply via email to