Dmitrij D. Czarkoff <czark...@gmail.com> wrote:

> The programs compiles OK, but fails to run. On compiling it manually and
> running it manually I get the following output:
> 
> ./test:/usr/local/lib/libvorbisfile.so.6.0: undefined symbol 
> 'vorbis_info_clear'
> ./test:/usr/local/lib/libvorbisfile.so.6.0: undefined symbol 'ogg_sync_wrote'

You need to link with -lvorbisfile -lvorbis -logg -lm.

A simple "-lvorbisfile" is not enough.

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to