Lost Brother Scanner Detection in Latest Tumbleweed

Thanks again.
Yes it is installed. Identical with the other tumbleweed with only version differences.
This the none working scanner

S  | Name              | Type    | Version  | Arch   | Repository
---+-------------------+---------+----------+--------+------------------------
i+ | glibc             | package | 2.39-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i  | glibc-32bit       | package | 2.39-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i  | glibc-devel       | package | 2.39-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i  | glibc-extra       | package | 2.39-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i  | glibc-locale      | package | 2.39-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i  | glibc-locale-base | package | 2.39-1.3 | x86_64 | openSUSE-Tumbleweed-Oss
i  | linux-glibc-devel | package | 6.7-1.2  | x86_64 | openSUSE-Tumbleweed-Oss

This is the working scanner

i+ | glibc             | package | 2.38-8.1 | x86_64 | (System Packages)
i  | glibc-32bit       | package | 2.38-8.1 | x86_64 | (System Packages)
i  | glibc-devel       | package | 2.38-8.1 | x86_64 | (System Packages)
i  | glibc-extra       | package | 2.38-8.1 | x86_64 | (System Packages)
i  | glibc-locale      | package | 2.38-8.1 | x86_64 | (System Packages)
i  | glibc-locale-base | package | 2.38-8.1 | x86_64 | (System Packages)
i  | linux-glibc-devel | package | 6.7-1.1  | x86_64 | (System Packages)
1 Like

I’m just trying to understand why ‘libnsl.so.1’ is not found.

Check
rpm -ql glibc
You should expect to see ‘lib64/libnsl.so.1’ present in the output

1 Like

Hi deano. Problem solved.
I copied the missing libnsl.so.1 and rebooted, then xsane started to detect the scanner :blush: :smiling_face_with_three_hearts:
It was good I asked this problem here, your pointers got me pupmed-up to try to find-out what really is the problem. Maybe I got lucky with this scanner today but I don’t know what will happen after another snapshot.

ldd /usr/lib64/sane/libsane-brother3.so
linux-vdso.so.1 (0x00007ffd355f0000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f00a3151000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f00a3135000)
libusb-0.1.so.4 => /lib64/libusb-0.1.so.4 (0x00007f00a312d000)
libm.so.6 => /lib64/libm.so.6 (0x00007f00a3044000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f00a303f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f00a2a00000)
/lib64/ld-linux-x86-64.so.2 (0x00007f00a3171000)

Thanks again your help is very much appreciated. More power.

1 Like

So this one is part of the glibc. I will be watching this next time. Thanks.
If I’ve seen your post a while ago I should have tried it before copying the missing one.
For the record even it was late here it is. I realized the copied one is not recognized byrpm -ql glibc

rpm -ql glibc
/etc/bindresvport.blacklist
/etc/gai.conf
/etc/ld.so.cache
/etc/ld.so.conf
/etc/nsswitch.conf
/etc/rpc
/usr/bin/gencat
/usr/bin/getconf
/usr/bin/getent
/usr/bin/iconv
/usr/bin/ld.so
/usr/bin/ldd
/usr/bin/locale
/usr/bin/localedef
/usr/etc/nsswitch.conf
/usr/lib64/ld-linux-x86-64.so.2
/usr/lib64/ld-lsb-x86-64.so.3
/usr/lib64/libBrokenLocale.so.1
/usr/lib64/libanl.so.1
/usr/lib64/libc.so.6
/usr/lib64/libc_malloc_debug.so.0
/usr/lib64/libdl.so.2
/usr/lib64/libm.so.6
/usr/lib64/libmvec.so.1
/usr/lib64/libnss_compat.so.2
/usr/lib64/libnss_db.so.2
/usr/lib64/libnss_dns.so.2
/usr/lib64/libnss_files.so.2
/usr/lib64/libnss_hesiod.so.2
/usr/lib64/libpthread.so.0
/usr/lib64/libresolv.so.2
/usr/lib64/librt.so.1
/usr/lib64/libthread_db.so.1
/usr/lib64/libutil.so.1
/usr/libexec/getconf
/usr/libexec/getconf/POSIX_V6_LP64_OFF64
/usr/libexec/getconf/POSIX_V7_LP64_OFF64
/usr/libexec/getconf/XBS5_LP64_OFF64
/usr/libexec/getconf/getconf
/usr/sbin/iconvconfig
/usr/sbin/ldconfig
/usr/share/doc/packages/glibc
/usr/share/doc/packages/glibc/gai.conf
/usr/share/licenses/glibc
/usr/share/licenses/glibc/LICENSES
/usr/share/man/man1/gencat.1.gz
/usr/share/man/man1/getconf.1.gz
/usr/share/man/man5/locale.alias.5.gz
/var/cache/ldconfig

1 Like

Glad to have been of guidance. Nice to read of the resolution here.

1 Like

Hi deano, I duckduckgo regarding libnsl.so. it was mentioned that it was already remove from glibc.
There are suggestion to install libnsl instead. There is a package in tumbleweed it is called libnsl1.


libnsl1 - Legacy Network Support Library (NIS)

Network Support Library for legacy architectures. This library does not have support for IPv6.de here
``
rpm -ql libnsl1
/usr/lib64/libnsl.so.1

It shows on my machine after I installed libnsl1
Thanks

1 Like

Ah yes, that makes sense. I’m using openSUSE Leap 15.5 so haven’t been impacted.

1 Like

Hi, I am glad you found this out, to me this was very interesting to read. I have 3 brother devices. 1 is a brother mfc-295cn which has usb and ethernet connection capability. I was thinking about working with it a bit with USB connection. Do you recommend to right away install the libnsl1 package?

I also just wanted to ask you that when you copied libnsl.so.1 from your working Tumbleweed where exactly did you copy it to exactly?

I do hope my question is not bothersome by any means. It’s nice that you got it working. :cold_face:

@panorain . It is in /lib64
See my post #10

Try first installing the libnsl1 and find out if libnsl.so.1 is present after you installed it.