Here is the results of what you suggested. $> ldconfig Runs with no display. but...
[root@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@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@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@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@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@oldpc root]# find / -iname 'libgphoto2.so.2' >> >>/usr/local/lib/libgphoto2.so.2 >>=================== >> >>Just doing the real simple gphoto2 command, same thing: >> >>[root@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 From stefan.leich...@camline.com Fri Sep 16 07:01:44 2005 From: stefan.leich...@camline.com (Stefan Leichter) Date: Fri Sep 16 07:04:18 2005 Subject: [sane-devel] Getting Clever CAM 360 working - running gphoto2 version 2.1.6 In-Reply-To: <432a3fe9.2040...@ix.netcom.com> References: <1126541382.6974.8.camel@gk-lex3> <20050916021523.ga26...@skyscraper.unix9.prv> <432a3fe9.2040...@ix.netcom.com> Message-ID: <200509160901.44878.stefan.leich...@camline.com> 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@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@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@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@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 >