[sane-devel] Getting Clever CAM 360 working - running gphoto2
version 2.1.6
Martin
martinh at ix.netcom.com
Fri Sep 16 03:45:45 UTC 2005
Here is the results of what you suggested.
$> ldconfig
Runs with no display.
but...
[root at oldpc root]# ldconfig -v
Got this message about no such file - which is true because it is at
/usr/local/lib/sane - can this be corrected?
ldconfig: Can't stat /usr/lib/sane: No such file or directory
/lib:
<the rest of the output list...>
$> chmod 755 /usr/local/lib/libgphoto2.so.2
These are the current permissions:
[root at oldpc root]# ll /usr/local/lib/libgphoto2.so.2
lrwxrwxrwx 1 root root 19 Sep 15 21:00 /usr/local/lib/libgphoto2.so.2 ->
libgphoto2.so.2.0.3
$ cat /usr/local/lib/libgphoto2.so.2 >/dev/null
Displays nothing, and so I guess I have access to it.
$> ldd /usr/local/lib/libgphoto2.so.2
Displayed the following:
[root at oldpc root]# ldd /usr/local/lib/libgphoto2.so.2
libgphoto2_port.so.0 => /usr/local/lib/libgphoto2_port.so.0 (0x40079000)
libdl.so.2 => /lib/libdl.so.2 (0x40089000)
libm.so.6 => /lib/libm.so.6 (0x4008c000)
libc.so.6 => /lib/libc.so.6 (0x400ad000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
And so still getting this error message:
[root at oldpc root]# /usr/local/bin/gphoto2 --help
/usr/local/bin/gphoto2: error while loading shared libraries:
libgphoto2.so.2: cannot open shared object file: No such file or directory
bjd wrote:
>>Ok, I deleted all folders/files referencing libgphoto2* and gphoto2*
>>from my system - which removed all old and newer versions of each.
>>
>>I re-did ./configure and make and make install, for libgphoto2-2.1.6 and
>>then gphoto2-2.1.6.
>>
>>Now the only error message I'm getting is the following.
>>
>>===================
>>[root at oldpc root]# env LANG=C /usr/local/bin/gphoto2 --debug --camera
>>"Polaroid PDC 640" --capture-image --port "usb:"
>>
>>/usr/local/bin/gphoto2: error while loading shared libraries:
>>libgphoto2.so.2: cannot open shared object file: No such file or directory
>>===================
>>
>>I'm not sure why this is happening, so I did a find for it, and it can
>>be found.
>>===================
>>[root at oldpc root]# find / -iname 'libgphoto2.so.2'
>>
>>/usr/local/lib/libgphoto2.so.2
>>===================
>>
>>Just doing the real simple gphoto2 command, same thing:
>>
>>[root at oldpc root]# /usr/local/bin/gphoto2 --help
>>/usr/local/bin/gphoto2: error while loading shared libraries:
>>libgphoto2.so.2: cannot open shared object file: No such file or directory
>>
>>
>>Any ideas?
>>
>>
>
>$> ldconfig ??
>$> chmod 755 /usr/local/lib/libgphoto2.so.2 ??
>$ cat /usr/local/lib/libgphoto2.so.2 >/dev/null
> to see if you have access to it at all.
>$> ldd /usr/local/lib/libgphoto2.so.2
> and see if you can access all those listed.
>
>bjd
>
>
>
--
-------------- next part --------------
Skipped content of type multipart/related
More information about the sane-devel
mailing list