oneiric: "undefined symbol" errors, webcam doesn't work

Bug #875302 reported by Andreas Hasenack
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
aMSN
Unknown
Unknown
amsn (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

amsn 0.98.4-0ubuntu2
oneiric
webcam microsoft VX-800 usb ID 045e:0766

When staring amsn up from the console, and then hitting "ctrl-n" to start the audio and video wizard and clicking next, the following errors are spit out:

andreas@duo:~$ amsn
dlopen: ./utils/linux/capture/libng/plugins/conv-mjpeg.so: undefined symbol: ng_debug
dlopen: ./utils/linux/capture/libng/plugins/drv0-v4l2.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/drv1-v4l.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/sn9c10x.so: undefined symbol: ng_conv_register

At the same time, the wizard says it couldn't locate a webcam.

The cam works with skype and cheese, and worked with amsn under Lucid. v4l-info also shows a bunch of info about it (attached).

I also tried amsn's "make check-capture" from the source tarball, but it throws the same "undefined symbol" errors and fails to list any video device.

Finally, I also tried rebuilding from source (0.98.4) and a svn daily, but got the same errors when running the test.tcl script.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in amsn (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi Kakaroto, seems to be the new amsn version has some broken plugins... Could you please take a look?

Revision history for this message
kakaroto (kakaroto) wrote :

@vivia looked at this and I think fixed it, I think it had something to do with the linker in the new version of ubuntu.

Revision history for this message
vivia (vivia) wrote :

.... no I didn't fix it... I looked at it together with Phil, we have a patch (he wrote it) that helps the situation a bit - at least the webcam gets recognized, but the image appears black with no brightness/contrast/etc volume controls whatsoever, and there are no error messages this time.

The patch is in http://pastie.org/private/nxv8vapdzbjp80e1ve4cka if you want to investigate.

19:53 <LePhilousophe> the main problem
19:53 <LePhilousophe> is that with new Ubuntu
19:54 <LePhilousophe> you need to set the .so from which you import symbols as
                      DT_NEEDED
19:54 <LePhilousophe> and for now we don't set that as we rely on the fact that
                      libng must be loaded to load plugins
19:54 <LePhilousophe> because that's libng which loads plugins

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Fixed where? I would like to try it.

I tried svn revision r12344 on oneiric (ubuntu 11.10) and that's the current revision still.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I applied that patch to trunk and rebuilt, and now the camera is recognized and make check-capture works for me, as does ./amsn with the audio/video wizard.

Revision history for this message
Most People Use Their Full Name here (fullname1) wrote :

experiencing the same problem here
$ amsn
dlopen: ./utils/linux/capture/libng/plugins/conv-mjpeg.so: undefined symbol: ng_debug
dlopen: ./utils/linux/capture/libng/plugins/drv0-v4l2.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/drv1-v4l.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/sn9c10x.so: undefined symbol: ng_conv_register

amsn_0.98.4-0ubuntu3_armel

Revision history for this message
Amrish Lakhisaran (amrish96) wrote :

I have the same problem with my Logitech quickam pro (046d:0870)
ubuntu 11.10 with aMSN

dlopen: ./utils/linux/capture/libng/plugins/conv-mjpeg.so: undefined symbol: ng_debug
dlopen: ./utils/linux/capture/libng/plugins/drv0-v4l2.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/drv1-v4l.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/sn9c10x.so: undefined symbol: ng_conv_register

So.. How to fix this? How can I use the patch? (sorry for the noob question)

Revision history for this message
Josep-Lluís Font-García (josep-lluis-font) wrote :

Sorry if the post is not relevant, but we have the very same problem here.
My camera is (according to lsusb):

ID 046d:0990 Logitech, Inc. QuickCam Pro 9000

The errors are:

dlopen: ./utils/linux/capture/libng/plugins/conv-mjpeg.so: undefined symbol: ng_debug
dlopen: ./utils/linux/capture/libng/plugins/drv0-v4l2.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/drv1-v4l.so: undefined symbol: ng_dev
dlopen: ./utils/linux/capture/libng/plugins/sn9c10x.so: undefined symbol: ng_conv_register

cat /etc/lsb-release gives:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

uname -a gives:

Linux ubuntu 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:51:22 UTC 2012 i686 i686 i386 GNU/Linux

And the camera does not work at all with amsn.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi Andreas.
Could you please try the new amsn 0.98.9-1 from my ppa [1]?
this version is available for precise and quantal and it contains so many bug fixes.
If this doesn't fix the problem set the status back to new
[1] https://code.launchpad.net/~costamagnagianfranco/+archive/amsn

Changed in amsn (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I downloaded the source tarball 0.98.9 and built locally, the camera works now, thanks.

Changed in amsn (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.