title: ffmpeg won't build in my project, works fine in example app
body: <p>I've tried for hours but I can't figure this out. I'm using <a href="https://github.com/kolyvan/kxmovie">KXMOVIE</a> in my project. I've downloaded and compiled the ffmpeg binaries as instructed. The example app actually works just fine, but I can't get it to build in my own project. All the .a files are there, exactly how it is in the example app. I'm getting this error when I try and build for the simulator. </p>
  
  <pre><code>Undefined symbols for architecture i386:
    "_iconv", referenced from:
        _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
    "_iconv_close", referenced from:
        _avcodec_open2 in libavcodec.a(utils.o)
        _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
    "_iconv_open", referenced from:
        _avcodec_open2 in libavcodec.a(utils.o)
        _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
  ld: symbol(s) not found for architecture i386
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>What am I doing wrong? I don't even know where to begin.</p>