Comment 2 for bug 247905

Revision history for this message
Arie Skliarouk (skliarie) wrote :

I built and installed GIT checkout (2009-05-18) of vlc according to following page
http://www.tribler.org/trac/wiki/VlcUbuntuHowto
and got the same problem as above.

Looks like the "python setup.py build" erroneously produces vlc.so that does not reference any other libraries:
# ldd /usr/local/lib/python2.6/dist-packages/vlc.so
        linux-gate.so.1 => (0xb7f23000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ee2000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d7f000)
        /lib/ld-linux.so.2 (0xb7f24000)

And this explains why it does not find any functions, as the ldd of the packaged vlc
http://liris.cnrs.fr/advene/download/linux/python-vlc_0.9.0-1_i386.deb
has the proper references:
        linux-gate.so.1 => (0xb7f62000)
        libvlc.so.2 => /usr/lib/libvlc.so.2 (0xb7f21000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f08000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7da4000)
        libvlccore.so.0 => /usr/lib/libvlccore.so.0 (0xb7cd8000)
        /lib/ld-linux.so.2 (0xb7f63000)
        libhal.so.1 => /usr/lib/libhal.so.1 (0xb7cc6000)
        libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xb7c8e000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7c85000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c80000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c5a000)
        libsmbios.so.2 => /usr/lib/libsmbios.so.2 (0xb7bc4000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ad5000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ac6000)

The vlc.so with "proper" references, allowed the sample python program to start, but any attempt to play a video resulted in following error:
[00000376] main access error: no access module matched "any"
[00000374] main input error: open of `/mpeg1_mp2.mpg' failed: could not create access: no access module matched "any"

Whereas standalone vlc played the file fine.