<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div><span style="font-size: 12pt;">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.</span></div><div><br><div style="text-align:center;">Cordially,</div><div style="text-align:left;">Guillaume Bersac</div><div style="text-align:left;">237bis rue de Pessac</div><div style="text-align:left;">33000 Bordeaux</div><div style="text-align:left;">06.65.30.89.43</div><div><br></div><br><br><div>> To: libav-user@ffmpeg.org<br>> From: cehoyos@ag.or.at<br>> Date: Tue, 2 Jul 2013 12:00:42 +0000<br>> Subject: Re: [Libav-user] Error while linking ffmpeg<br>> <br>> ... ... <bersac_1@...> writes:<br>> <br>> > > you must make sure the libav* match the header when compiling <br>> > > your code. you may add "-v" option to see details<br>> > <br>> > I tryied the "ffmpeg -v" command and I get the following answer<br>> <br>> (Unrelated: Note that -v is the option to set the verboseness <br>> of all FFmpeg binaries, it requires an argument.)<br>> <br>> >  configuration: --enable-shared<br>> <br>> > What am I suppose to do with that ?<br>> <br>> This tells you that you installed the libraries into <br>> /usr/local/lib (this is the default location and you <br>> did not specify another location) while you already <br>> have (another version of) libavcodec installed in <br>> /usr/lib - this generally cannot work.<br>> <br>> Please understand that I do *not* generally recommend to <br>> install your self-compiled shared libraries into /usr/lib <br>> - I just want to explain the problem (why linking fails <br>> for you independently of the mentioned FFmpeg bug).<br>> <br>> Carl Eugen<br>> <br>> _______________________________________________<br>> Libav-user mailing list<br>> Libav-user@ffmpeg.org<br>> http://ffmpeg.org/mailman/listinfo/libav-user<br></div></div>                                     </div></body>
</html>