Tech Support > Operating Systems > Linux / Variants > Error in gphoto2 / gtkam
Error in gphoto2 / gtkam
Posted by Alex on December 12th, 2003


Hi folks,

I just downloaded and installed libgphoto2-2.1.3, gtkam-0.1.10, and
gphoto2-2.1.3 on Slackware 9.1. All went fine, but when I try to run
either gtkam or gphoto2, I get the following error:

gtkam: error while loading shared libraries: libgphoto2.so.2: cannot
open shared object file: No such file or directory

I've located the file libgphoto2.so.2 in /usr/local/lib and I have
added this to my path... but no luck. Suggestions?

Or if there's another app that'll pull digital photos from my Olympus
camera, I'd like suggestions.

Thanks,

Alex.

Posted by Andrew Schulman on December 12th, 2003




You're on the right track, but your path isn't the right place. First, make
sure that /etc/ld.so.conf includes a line '/usr/local/lib'. Then, run
ldconfig (as root). After that your applications should be able to find
your libgphoto2.so.2.

If your apps still won't start, run 'ldd gphoto2' and see what it says about
libgphoto2.so.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"


Posted by Dave Abbott on December 12th, 2003



On Thu, 11 Dec 2003 17:00:39 -0800, Alex wrote:

Recent Olympus cameras seem to use usb-storage, and can
be accessed directly after mounting.

Google for linux-usb for more info.


Posted by Max on December 12th, 2003


On Thu, Dec 11 2003, in comp.os.linux.misc,
Alex <alex@totallynerd.com> wrote:

Waste of time that. It won't help at all.

Before digging around for other alternatives, why not handle your
current problem first. Chances are you didn't run 'ldconfig' after
install. Do so if you haven't already or you haven't rebooted
lately. Slackware normally runs 'ldconfig' in the start up scripts
during boot-up. Now try gtkam again. Should it fail, take a look at
/etc/ld.so.conf, and make sure the path to /usr/local/lib exists
there. Unless you've been mucking around, that path should have
already been there.

ldconfig is useful when toying around with libraries. Keep it in
mind. Good luck.

Max

--
For every evil under the sun,
There is a remedy, or there is none;
If there be one, try and find it,
If there be none, never mind it.

Posted by Gene on December 13th, 2003


On Thursday 11 December 2003 20:00 Alex wrote:

Well, I would assume that your Olympus camera is the same as mine, a
C-3020, as far as the interface is concerned. Its got a usb socket,
and plugs into a usb port. You'll need to load the usb_storage module,
the vfat files system support, and a /dev/camera that links to a pseudo
disk drive which the camera imitates via the vfat filesystem. In my
case, its /dev/sda1, like this:

lrwxr-xr-x 1 root root 9 Nov 14 15:04 /dev/camera ->
/dev/sda1

Then to access it, mount -t vfat /dev/camera /mnt/camera.

Then browse it, download from it, whatever (be sure you turn the camera
on first) with your favorite filemanager. Piece of cake.

--
Cheers, Gene
A mostly retired old coot


Similar Posts