[Libav-user] Error while linking ffmpeg : problem solve !
... ...
bersac_1 at hotmail.fr
Tue Jul 2 15:24:50 CEST 2013
Hi,
And thanks a lot for your responses and especially to Carl Eugen ! I just installed libvlc using apt-get and it installed avcodec in usr/lib. I deleted it and now it is compiling fine with both libvlc and ffmpeg. I would had never found that solution.
Cordially,Guillaume Bersac237bis rue de Pessac33000 Bordeaux06.65.30.89.43
> To: libav-user at ffmpeg.org
> From: cehoyos at ag.or.at
> Date: Tue, 2 Jul 2013 12:00:42 +0000
> Subject: Re: [Libav-user] Error while linking ffmpeg
>
> ... ... <bersac_1 at ...> writes:
>
> > > you must make sure the libav* match the header when compiling
> > > your code. you may add "-v" option to see details
> >
> > I tryied the "ffmpeg -v" command and I get the following answer
>
> (Unrelated: Note that -v is the option to set the verboseness
> of all FFmpeg binaries, it requires an argument.)
>
> > configuration: --enable-shared
>
> > What am I suppose to do with that ?
>
> This tells you that you installed the libraries into
> /usr/local/lib (this is the default location and you
> did not specify another location) while you already
> have (another version of) libavcodec installed in
> /usr/lib - this generally cannot work.
>
> Please understand that I do *not* generally recommend to
> install your self-compiled shared libraries into /usr/lib
> - I just want to explain the problem (why linking fails
> for you independently of the mentioned FFmpeg bug).
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130702/b7dbf0db/attachment.html>
More information about the Libav-user
mailing list