[Libav-user] undefined reference errors from linker
Srinath M
srinath3142 at gmail.com
Wed Jan 23 12:41:25 CET 2013
On Wed, Jan 23, 2013 at 4:56 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Srinath M <srinath3142 at ...> writes:
>
> > /usr/local/lib/libavformat.a(matroskadec.o): In function
> > `matroska_decode_buffer':
> > /home/srinath/Downloads/ffmpeg-1.1.1/libavformat/matroskadec.c:1138:
> > undefined reference to `BZ2_bzDecompressInit'
>
> The first letters of the missing symbol seem to
> indicate that you want to link against libbz2.
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
Thanks, i added some more missing libraries and it compiles.
This was my final list
clang -o tld tld.o -L"../lib" -lccv -lavformat -lavcodec -lswscale -lavutil
-lbz2 -lz -lpthread -lm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130123/10e9febb/attachment.html>
More information about the Libav-user
mailing list