On Tue, Mar 15, 2011 at 02:53:47PM +0000, Christian Weisgerber wrote: > 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
Use pkg-config --libs vorbisfile :) -- Cheers, Jasper "Capable, generous men do not create victims, they nurture them."