You are not logged in.
my first time posting a topic here. sorry if there's any mistake in posting.
Hi, I use an i3 with a Canon Pixma MP145 printer. I'm having a hard time scanning images using Simple-scan or Skanlite to scan pictures. Checked in the terminal for this output :
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted (core dumped)
so I went and search for libgcc_s.so.1. my output :
pacman -Fs libgcc_s.so.1
warning: database file for 'multilib' does not exist (use '-Fy' to download)
core/gcc-libs 9.1.0-2
usr/lib/libgcc_s.so.1
core/lib32-gcc-libs 9.1.0-2
usr/lib32/libgcc_s.so.1
community/aarch64-linux-gnu-gcc 9.2.0-1
usr/aarch64-linux-gnu/lib64/libgcc_s.so.1
community/gcc8-libs 8.3.0-2
usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/libgcc_s.so.1
community/riscv64-linux-gnu-gcc 9.2.0-1
usr/riscv64-linux-gnu/lib/libgcc_s.so.1
so what could be the problem for these scanning apps not detecting the package installed and crashed halfway?
if I just use the command
scanimage --device "pixma:04...." --format=png > test.png
it would scan properly and save the image as desired.
I need graphical interface to set the scanning resolution.
Thanks in advance.
Last edited by XxSingleOriginxX (2019-09-02 01:40:37)
Offline
What's your environment? With all these non-default development libraries of glibc installed you are likely preferring the wrong lib.
FWIW run an affected program through strace, post the output.
Offline
I actually have to learn more about environment and setting them up. If you ask me, the only line I added in my /etc/environment was
QT_QPA_PLATFORMTHEME=qt5ct
Anyways, thank you for corresponding. And I am sorry the delay of my reply. I got to set my scanning resolution by using this command
scanimage --device "pixma:04A9172B_56C7EA" --resolution 150 -x210 -y 297 --format=png > test.png
Thus I will mark the problem as solved, as my initial intentions were fulfilled. (You cannot mark this topic as solved? Done)
Last edited by XxSingleOriginxX (2019-09-02 01:42:17)
Offline
There are many places being sourced for the environment, run
printenv
in a terminal to get a list of what's exported in that terminal session.
Offline