[sane-devel] Getting Clever CAM 360 working - running gphoto2 version 2.1.6

Stefan Leichter Stefan.Leichter at camLine.com
Fri Sep 16 07:01:44 UTC 2005


Hi Martin,

do you have the line /usr/local/lib in you /etc/ld.so.conf file ? If not enter 
it and rerun ldconfig.

Bye Stefan

Am Freitag, 16. September 2005 05:45 schrieb Martin:
> 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
>



More information about the sane-devel mailing list