[sane-devel] can't make my scanner work

Olaf Meeuwissen paddy-hack at member.fsf.org
Sun Aug 12 02:02:46 BST 2018


Hi João,

João Teodósio writes:

> Hello!
>
> I recently upgrade to Ubuntu 18.04 and my Brother DCP-150C scanner
> isn't working. I have sane-utils installed and I did all the
> procedures as stated here:
> https://sites.google.com/site/easylinuxtipsproject/15

I took a quick look at those instructions.  They include this

  sudo ln -sf /usr/lib64/libbrscandec*.so* /usr/lib
  sudo mkdir -p /usr/lib/sane
  sudo ln -sf /usr/lib64/sane/libsane-brother*.so* /usr/lib/sane

but it looks like Ubuntu has dropped /usr/lib/ and nowadays only looks
for libraries in /usr/lib/x86_64-linux-gnu/.  See

  https://alioth-lists.debian.net/pipermail/sane-devel/2018-July/036265.html

You can clean up the result of the instructions above with

  sudo rm /usr/lib/sane/libsane-brother*.so*
  sudo rmdir /usr/lib/sane
  sudo rm /usr/lib/libbrscandec*.so*

and instead use

  sudo ln -sf /usr/lib64/libbrscandec*.so* /usr/lib/x86_64-linux-gnu
  sudo mkdir -p /usr/lib/x86_64-linux-gnu/sane
  sudo ln -sf /usr/lib64/sane/libsane-brother*.so* /usr/lib/x86_64-linux-gnu/sane

This is all untested but I think this will fix things for you.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list