Brother Scanner problem with xsane caused by libnsl
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2015
    Location
    Perth Australia
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Brother Scanner problem with xsane caused by libnsl

    I use a MFC-9440CN bronther printer as a scanner and after upgrading to Fedora 28 I got the classic "no device available" when using xsane.
    I reinstalled using the latest brother drivers etc (which I think was not required).
    I did the below:
    brscan-skey -l
    /opt/brother/scanner/brscan-skey/brscan-skey-0.2.4-0: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

    This lead me to install libnsl which would appear was not not in the Fedora 28 version. This might be because it is superceded by libnsl2
    My printer worked before but now requires this library to function correctly. This is probably true for most printers/scanners in the brother range.

    I hope this helps someone else if they have the problem.

  2. #2
    tempest766 Guest

    Re: Brother Scanner problem with xsane caused by libnsl

    I've noticed this kind of problem sporatically in the past, where a support library changes major versions, without backwards compatibility being verified, or worse: conflicts with the previous library version.

  3. #3
    Join Date
    Jul 2016
    Location
    Illinois, USA
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Brother Scanner problem with xsane caused by libnsl

    In a fresh install of Fedora 30, I needed libnsl as above and also libusb-0.1, which I got by installing package libusb-1:0.1.5-14.fc30.x86_64
    (My brother scanner is networked, but the "brother4" module required by my sane configuration wouldn't load without the libusb library.)
    I should add that the magic that I used to track down the dependency is a command that I found online - I'll be darned if I can find it again, but it was in a bug report. Anyhow, the following puts a bunch of information in scanimage.debug.
    SANE_DEBUG_DLL=255 SANE_DEBUG_SANEI_TCP=255 scanimage -L &> scanimage.debug
    Last edited by ccarson; 10th May 2019 at 04:42 PM. Reason: clarification

  4. #4
    Join Date
    Oct 2005
    Location
    Puerto Rico
    Posts
    600
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Brother Scanner problem with xsane caused by libnsl

    Thanks to these hints, I was able to recover scanning with my Brother MFC-8460N. I was aware of the libnsl issue, but didn't know libusb would be also required. I filed a bug/update request with Brother months ago without success so far. Thanks again.

Similar Threads

  1. [SOLVED]
    F21: Brother printer/scanner: No scanner detected
    By MrNice in forum Hardware & Laptops
    Replies: 9
    Last Post: 17th September 2017, 08:39 PM
  2. [SOLVED]
    XSane not detecting scanner
    By volbollo in forum Using Fedora
    Replies: 12
    Last Post: 17th April 2015, 02:14 PM
  3. Brother driver for Brother DCP385C scanner
    By Spats in forum Using Fedora
    Replies: 1
    Last Post: 23rd May 2011, 10:14 AM
  4. Scanner detection problem in network / xsane
    By wprauchholz in forum Hardware & Laptops
    Replies: 1
    Last Post: 5th July 2006, 02:25 PM
  5. scanner /XSane problem Epson 1250 Photo
    By jwvraets in forum Using Fedora
    Replies: 9
    Last Post: 13th December 2004, 06:19 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •