public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bertram Scharpf <lists@bertram-scharpf.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Brother scanner wants libusb-0.1.so.4
Date: Wed, 5 Oct 2016 23:45:19 +0200	[thread overview]
Message-ID: <20161005214519.GA79882@becker.bs.l> (raw)

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


             reply	other threads:[~2016-10-05 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 21:45 Bertram Scharpf [this message]
2016-10-05 22:19 ` [gentoo-user] Brother scanner wants libusb-0.1.so.4 Alecks Gates
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=20161005214519.GA79882@becker.bs.l \
    --to=lists@bertram-scharpf.de \
    --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