You are not logged in.
xsane is failing to start with the following error:
$xsane
xsane: error while loading shared libraries: libgphoto2.so.2: cannot open shared object file: No such file or directory
$ ldd /usr/bin/xsane | grep "not found"
libgphoto2.so.2 => not found
libgphoto2_port.so.0 => not found
I have libgphoto2 installed. There is a /usr/lib/libgphoto2.so and /usr/lib/libgphoto2.so.6. I guess the xsane package just needs rebuilding to link to the newer libgphoto2.
For the moment I have temporarily fixed it with a symlink:
$ sudo ln -s /usr/lib/libgphoto2_port.so /usr/lib/libgphoto2_port.so.2
$ sudo ln -s /usr/lib/libgphoto2_port.so.10.0.0 /usr/lib/libgphoto2_port.so.0
And to pre-empt the moderators, yes I did search the forum but I haven't seen this reported elsewhere. I apologise in advance if I've created a duplicate post. It's not my fault the forum's search facility is rubbish.
Offline
What's your xsane version? I'm running up-to-date version here (0.998-2) and below is the output of ldd.
$ ldd /usr/bin/xsane|grep photo
libgphoto2.so.6 => /usr/lib/libgphoto2.so.6 (0x00007f3f19b7b000)
libgphoto2_port.so.10 => /usr/lib/libgphoto2_port.so.10 (0x00007f3f19971000)
Time for pacman -S xsane, maybe?
Offline
I have the same version according to pacman (0.998-2). I have already tried reinstalling it. I've cleared the pacman cache, pacman -Sy and installed again, still linked to so.2.
I should add that I am not using the testing repo. This is on x86-64.
Last edited by shaurz (2013-02-25 20:17:06)
Offline
Straight up x86_64 here too (no testing). Forgot - these are up-to-date as well (from extra) - you must have tried to re-install them as well?
libgphoto2 2.5.0-1
gphoto2 2.5.0-1
Offline
Yes I have the same versions of these packages too and have reinstalled them.
Offline
I've found the problem. For some reason I had sane-git installed. I can't remember why I installed it, but I've replaced it with the regular sane package and all is OK.
Offline