title: Compile ffmpeg with x265 and fdk-aac on Minibian - dependencies not found
body: <p>I am trying to get a live streaming device to work on a raspberry pi. I am running <a href="https://minibianpi.wordpress.com/" rel="nofollow noreferrer">minibian</a>. I roughly follow <a href="https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi" rel="nofollow noreferrer">this guide</a> without the cross compiling.</p>
  <p>My problem is probably with the compilation of ffmpeg. I downloaded and compiled both x265 and fdk-aac and compiled them. Next I have to compile ffmpeg, which is in the same folder as the other ones, but the compiler can't find any of the dependencies. x265 also cannot be found using pkg-config, which is the error it produces when I try to run <code>./configure.</code></p>
  <p>I directly cloned everything into one folder, so that in a folder called <code>ffmpeg_files</code> there are three other folders: <code>ffmpeg</code>, <code>fdk-aac</code> and <code>x265</code>. How do I properly include these dependencies so I can enable them when I compile ffmpeg?</p>
  <p>Thank you!</p>
  <hr />
  <p>Okay, so this is not really an answer to this question.</p>
  <p>After a long time of trial and error and a lot of help by the great user <a href="https://stackoverflow.com/users/5726027/mulvya">Mulvya</a> I decided not to use Minibian, but Raspbian Stretch Lite. There, everything worked very smoothly. Just remember to run <code>sudo ldconfig</code> after installing the codec libraries like x264/x265 or fdk-aac.</p>
  <p>Thanks everybody for your help!</p>