<div dir="ltr">I got a really helpful advice from Rémi Denis-Courmont at VLC forums thread - <a href="https://forum.videolan.org/viewtopic.php?f=13&t=137096">https://forum.videolan.org/viewtopic.php?f=13&t=137096</a><br><br>    Make sure that "pkg-config --modversion libavcodec" works.<br>    If not, then FFmpeg is essentially not installed.<br><br>This command gave me the following error message:<br><br>    Package libavcodec was not found in the pkg-config search path.<br>    Perhaps you should add the directory containing `libavcodec.pc'<br>    to the PKG_CONFIG_PATH environment variable<br>    No package 'libavcodec' found<br><br>Checked my PKG_CONFIG_PATH variable - it was empty :<br><br>    echo $PKG_CONFIG_PATH<br><br>Then I searched at /usr directory for libavcodec.pc , and found it:<br><br>    find /usr -name "libav*.pc"<br>    /usr/lib/pkgconfig/libavutil.pc<br>    /usr/lib/pkgconfig/libavcodec.pc<br>    /usr/lib/pkgconfig/libavfilter.pc<br>    /usr/lib/pkgconfig/libavformat.pc<br>    /usr/lib/pkgconfig/libavdevice.pc<br>    /usr/lib/pkgconfig/libavresample.pc<br>    /usr/lib64/pkgconfig/libavc1394.pc<br><br>Now all I needed to do is to add these path: /usr/lib/pkgconfig/ , and also /usr/lib64/pkgconfig/ just in case, to PKG_CONFIG_PATH (could be done through bashrc or any other way). After that, "pkg-config --modversion libavcodec" outputs a version number of libavcodec instead of error, and vlc could be configured and built without any problems! ^_^<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-17 3:09 GMT-05:00 qma ster <span dir="ltr"><<a href="mailto:qmastery16@gmail.com" target="_blank">qmastery16@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">"tried again", it still does not work. Do you have a more helpful advice?<span class=""><br><br><div><div>I am trying to build the most recent development version of 
vlc-3.0 (git cloned) from source, but running ./configure gives me the 
following error:<br><br>configure: error: Missing libav or FFmpeg<br><br></div>That
 is despite I have built from source and installed a fresh ffmpeg-3.2.2 
with the following configuration including --enable-shared (see below). 
Also, in my /usr/lib directory there is a library libavcodec.a , 
libavcodec.so.57.64.101 with symbolic links to it libavcodec.so and 
libavcodec.so.57 .<br><br></div><div>Maybe I need to pass some 
additional flag to vlc-3.0 to force it to notice my libavcodec library? 
If yes, what flags should I try?<br></div><div><br>ffmpeg configure 
options (just in case): --prefix=/usr --enable-gpl --disable-stripping 
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa 
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca 
--enable-libcdio --disable-libebur128 --enable-libfontconfig 
--enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
 --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg 
--enable-libopus --enable-libpulse --enable-librubberband 
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh 
--enable-libtheora --enable-libtwolame --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx 
--enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 
--enable-libiec61883 --enable-libopencv --enable-frei0r --enable-libx264
 --enable-chromaprint --enable-shared<br><br></div><div>Best regards,<br></div>qmastery<br></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-01-17 5:27 GMT+03:00 liyoubdu <span dir="ltr"><<a href="mailto:liyoubdu@qq.com" target="_blank">liyoubdu@qq.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div>try again</div><div><div><br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ Original --<wbr>----------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>From: </b> "qma ster";<<a href="mailto:qmastery16@gmail.com" target="_blank">qmastery16@gmail.com</a>>;</div><div><b>Send time:</b> Tuesday, Jan 17, 2017 7:12 AM</div><div><b>To:</b> "vlc-devel"<<a href="mailto:vlc-devel@videolan.org" target="_blank">vlc-devel@vide<wbr>olan.org</a>>; </div><div></div><div><b>Subject: </b> [vlc-devel] configure: error: Missing libav or FFmpeg</div></div><div><div class="m_423820357356364584h5"><div><br></div><div dir="ltr"><div><div>I am trying to build the most recent development version of vlc-3.0 (git cloned) from source, but running ./configure gives me the following error:<br><br>configure: error: Missing libav or FFmpeg<br><br></div>That is despite I have built from source and installed a fresh ffmpeg-3.2.2 with the following configuration including --enable-shared (see below). Also, in my /usr/lib directory there is a library libavcodec.a , libavcodec.so.57.64.101 with symbolic links to it libavcodec.so and libavcodec.so.57 .<br><br></div><div>Maybe I need to pass some additional flag to vlc-3.0 to force it to notice my libavcodec library? If yes, what flags should I try?<br></div><div><br>ffmpeg configure options (just in case): --prefix=/usr --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --disable-libebur128 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-libopencv --enable-frei0r --enable-libx264 --enable-chromaprint --enable-shared<br><br></div><div>Best regards,<br></div><div>qmastery<br></div></div></div></div></div><br></div></div>______________________________<wbr>_________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/l<wbr>istinfo/vlc-devel</a><br></blockquote></div><br></div>
</blockquote></div><br></div>