Hello folks! I’m a new user of fedora and I have trouble when I try to install a specific scanner driver of a brother multifunctional printer. I suppose that is a dependencies problem. I’m using fedora 35.
As you can see, below is the result of the installation command.
[root@fedora driver-install-tool]# dnf install brscan5-1.2.6-0.x86_64.rpm
Fedora 35 - x86_64 - Updates 29 kB/s | 38 kB 00:01
Fedora 35 - x86_64 - Updates 190 kB/s | 1.7 MB 00:09
Fedora Modular 35 - x86_64 - Updates 51 kB/s | 39 kB 00:00
Package Architecture Version Repository Size
brscan5 x86_64 1.2.6-0 @commandline 1.2 M
Install 1 Package
Total size: 1.2 M
Installed size: 4.6 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Preparing : 1/1
Running scriptlet: brscan5-1.2.6-0.x86_64 1/1
grep: /usr/lib64/libstdc++.so.6: binary file matches
ERROR: brscan5 depends on libstdc++/libstdc++6 (>= GLIBCXX_3.4.14)
error: %prein(brscan5-1.2.6-0.x86_64) scriptlet failed, exit status 254
Error in PREIN scriptlet in rpm package brscan5
Verifying : brscan5-1.2.6-0.x86_64 1/1
Error: Transaction failed
I hope that someone can help me.
Thanks in advance
actually I tried to install it before and there are no error at all. Maybe there something missing with your system. The usual way to solve it is by running sudo dnf distro-sync. It will check if there any missing packages your system have.
Maybe you also want to run file /usr/lib64/libstdc++.so.6 to check if your symbolic link not broken.
[testcase@fedora ~]$ file /usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6: symbolic link to libstdc++.so.6.0.29
Another way to check is by temporary removing custom env configuration in .bashrc file or any other files related to custom environment, reload again, and try to install the rpm package.
Once more, there some user here reported have hard time with *.so file because they accidentally install phyton package that not from Fedora repos.
I am using fedora 35, and when I do a full dnf distro-sync then look at the content of libstdc++.so.6.0.29 this is what I get.
# nm -D /usr/lib64/libstdc++.so.6.0.29
00000000000ab300 T atomic_flag_clear_explicit@@GLIBCXX_3.4.11
00000000000ab3b0 T __atomic_flag_for_address@@GLIBCXX_3.4.11
00000000000ab2f0 T atomic_flag_test_and_set_explicit@@GLIBCXX_3.4.11
00000000000ab380 T __atomic_flag_wait_explicit@@GLIBCXX_3.4.11
It appears that brscan requires a newer version of that .so file than is currently in fedora since the fedora library supports GLIBCXX.3.4.11 and brscan requires GLIBCXX.3.4.14 or higher.
Hello guys. So, I’ve noticed that the version of the software brscan5 in the terminal of our friend @oprizal is most recently than mine. Then, I downloaded the new version (1.2.8) and installed it. The installation occurred with no problems and the scanner works very well.
I think that the reason for the problem with the previous version of brscan5 was the own package.
Thanks all a lot! The fedora community is amazing!