Bug 146509 - missing symbol in libgphoto2_port_usb.so breaks gtkam
Summary: missing symbol in libgphoto2_port_usb.so breaks gtkam
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gphoto2
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-28 22:35 UTC by Anders Bengtsson
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-31 22:05:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Anders Bengtsson 2005-01-28 22:35:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
After upgrading gphoto2 to version 2.1.5-1.1 I can no longer access my
USB-attached digital camera from gtkam (the GTK front-end of gphoto2).

This is the error message:

gtkam: symbol lookup error:
/usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.so: undefined symbol:
usb_get_driver_np


Version-Release number of selected component (if applicable):
gphoto2-2.1.5-1.1

How reproducible:
Always

Steps to Reproduce:
1. Attach camera that previously worked with gtkam to the USB connection
2. Run "gtkam"
3. Wait a few seconds while gtkam starts and loads drivers
4. *poof*


Actual Results:  gtkam crashes, with the error quoted above.

Expected Results:  gtkam should have started.

Additional info:

Comment 1 Tim Waugh 2005-01-31 12:41:02 UTC
gtkam is not shipped with Fedora Core 3.  However, that symbol ought to be
present in libusb.

Out of interest, what do these commands say?:

ldd /usr/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.so
nm -D /usr/lib/libusb-0.1.so.4 | grep usb_get_driver


Comment 2 Anders Bengtsson 2005-01-31 22:00:36 UTC
Thanks Tim, I found the problem:

libusb-0.1.so.4 => /usr/local/lib/libusb-0.1.so.4 (0x005dd000)

I apparently had an old version of libusb installed in /usr/local/lib that
accidentally worked with the older gphoto2 but not with the newer...

Comment 3 Tim Waugh 2005-01-31 22:05:51 UTC
Okay, closing.


Note You need to log in before you can comment on or make changes to this bug.