[vorbis] Problems with pyvorbis python bindings.

Andrew Chatham andrew at andrewchatham.com
Mon Jul 22 19:30:00 PDT 2002



I've been informed of this and will try to fix it tonight. The API
changed going to 1.0, and I'll just have the Python bindings change
along with it.

Andrew

On Mon, 2002-07-22 at 19:25, xdfisl wrote:
> [Sorry if this is a duplicate post. My original didn't appear to have
> gotten through.]
> 
> I had previously installed libao, libogg, libvorbis, and vorbis-tools,
> as linked from the RC3 download page at vorbis.com -- I downloaded and
> installed the latest versions of these four libraries from the
> vorbis.com download page, at which point my pyogg/pyvorbis Python
> bindings broke. I reinstalled the latest version of pyao, pyogg, and
> pyvorbis, however pyvorbis gave me the following error:
> 
> : You must have the Ogg Python bindings
> : installed in order to build and install
> : these bindings. Import of ogg._ogg failed.
> 
> When I try to import ogg._ogg in IDLE I get this:
> 
> >>> import ogg._ogg
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.1/site-packages/ogg/__init__.py", line 1, in ?
>     from _ogg import *
> ImportError: /usr/lib/python2.1/site-packages/ogg/_oggmodule.so:
> undefined symbol: oggpack_look_huff
> 
> Import ogg works without problem.
> 
> >>> import ogg
> >>>
> 
> 
> Here is a summary of the procedure I followed the second time around,
> reinstalling everything, and getting to the same point:
> 
> Thanks in advance for any help you can give me.
> asqui
> 
> 
> ---------------------------------------------------
> 
> 
> asqui at martha:~/vorbis$ tar zxf libao-0.8.3.tar.gz ; tar zxf
> libogg-1.0.tar.gz ; tar zxf libvorbis-1.0.tar.gz ; tar zxf
> vorbis-tools-1.0.tar.gz asqui at martha:~/vorbis/libao-0.8.3$ ./configure
> 
> <...>
> 
> *** The esd-config script installed by ESD could not be found
> *** If ESD was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the ESD_CONFIG environment variable to the
> *** full path to esd-config.
> 
> <...>
> 
> asqui at martha:~/vorbis/libao-0.8.3$ make
> martha:/home/asqui/vorbis/libao-0.8.3# make install
> 
> asqui at martha:~/vorbis/libogg-1.0$ ./configure
> asqui at martha:~/vorbis/libogg-1.0$ make
> martha:/home/asqui/vorbis/libogg-1.0# make install
> 
> asqui at martha:~/vorbis/libvorbis-1.0$ ./configure
> asqui at martha:~/vorbis/libvorbis-1.0$ make
> martha:/home/asqui/vorbis/libvorbis-1.0# make install
> 
> asqui at martha:~/vorbis/vorbis-tools-1.0$ ./configure
> asqui at martha:~/vorbis/vorbis-tools-1.0$ make
> martha:/home/asqui/vorbis/vorbis-tools-1.0# make install
> 
> 
> 
> asqui at martha:~/vorbis/vorbis-tools-1.0$ cd ../python/
> asqui at martha:~/vorbis/python$ tar zxf pyao-0.8.tar.gz
> asqui at martha:~/vorbis/python$ tar zxf pyogg-0.5.tar.gz
> asqui at martha:~/vorbis/python$ tar zxf pyvorbis-0.5.tar.gz
> 
> asqui at martha:~/vorbis/python/pyao-0.8$ python config_unix.py
> asqui at martha:~/vorbis/python/pyao-0.8$ python setup.py build
> martha:/home/asqui/vorbis/python/pyao-0.8# python setup.py install
> 
> asqui at martha:~/vorbis/python/pyogg-0.5$ ./config_unix.py
> asqui at martha:~/vorbis/python/pyogg-0.5$ python setup.py build
> martha:/home/asqui/vorbis/python/pyogg-0.5# python setup.py install
> 
> asqui at martha:~/vorbis/python/pyvorbis-0.5$ ./config_unix.py
> asqui at martha:~/vorbis/python/pyvorbis-0.5$ python setup.py You must have
> the Ogg Python bindings installed in order to build and install these
> bindings. Import of ogg._ogg failed.
> 
> eof
> 
> 
> --- >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.
> 
> 

<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