[vorbis] Problems with ogg/vorbis python bindings.

xdfisl xdfisl at btopenworld.com
Fri Aug 2 09:17:24 PDT 2002



I compiled and installed pyogg followed by pyvorbis, running:

$ ./config_unix.py
$ python setup.py build
and as root:
# python setup.py install

for pyogg and pyvorbis in turn. This completed without error, however
upon trying to import ogg.vorbis in IDLE I get an import error:

ImportError: libvorbisfile.so.3: cannot open shared object file: No such
file or directory

I was told this may have been caused by an older version of the modules
lying around somewhere, so I did a: find / -name "*ogg*" and find /
-name "*voribs*" and deleted everything associated with ogg and vorbis,
then did a clean install of libao, libogg, libvorbis, vorbistools,
pyogg, and pyvorbis.

This is the ldd output on vorbismodule.so

asqui at martha:/usr/lib/python2.1/site-packages/ogg$ ldd vorbismodule.so
        libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x4000e000)
        libvorbisfile.so.3 => not found
        libvorbisenc.so.2 => not found
        libc.so.6 => /lib/libc.so.6 (0x4002f000)
        libm.so.6 => /lib/libm.so.6 (0x4014c000)
        libogg.so.0 => /usr/local/lib/libogg.so.0 (0x4016d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

I still get an import error.

>>> import ogg.vorbis
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: libvorbisfile.so.3: cannot open shared object file: No such
file or directory
>>>

Sorry, I'm a bit of a newbie to this stuff so I don't have much clue
what is going on.

Thanks for your help.
Dani

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list