[Ffmpeg-devel] ERROR: libvorbis not found

Måns Rullgård mru
Sat Jun 24 23:20:22 CEST 2006


"John Gao" <ajivanet at hotmail.com> writes:

> I have make ogg vorbis and make install all.
> when a build ffmpeg ,the error:
> ERROR: libvorbis not found
> If you think configure made a mistake, make sure you are using the latest
> version from SVN.  If the latest version fails, report the problem to the
> ffmpeg-devel at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
> Include the log file "config.err" produced by configure as this will help
> solving the problem.

Where is the config.err you were told to send?

> so, I get a last version  configure file to build,the error
>
> C:/msys/mingw/lib/libvorbis.a(block.o):block.c:(.text+0x7a): undefined
> reference to `oggpack_writeinit'
> C:/msys/mingw/lib/libvorbis.a(block.o):block.c:(.text+0x258):
> undefined reference to `oggpack_writeclear'
> C:/msys/mingw/lib/libvorbis.a(bitrate.o):bitrate.c:(.text+0x1e0):
> undefined reference to `oggpack_bytes'
> C:/msys/mingw/lib/libvorbis.a(bitrate.o):bitrate.c:(.text+0x2cc):
> undefined reference to `oggpack_bytes'

See, configure was right.  It didn't work.

In this case, it appears that libvorbis requires libogg (how insane is
that?).  Since you are using a static libvorbis the linker doesn't
know this, and -logg happens to be before -lvorbis.

Should be fixed.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list