DISQUS

Derekville: Issue when compiling FFMPEG on RHEL4

  • Greg Clinton · 1 year ago
    Had similar link issue with lame. This fixed my problem:

    ln -s /usr/local/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so.0
  • Derek Gathright · 1 year ago
    /usr/lib/libmp3lame.so.0 was pointing to /usr/lib/libmp3lame.so.0.0.0, but I took your suggestion and updated it to point to /usr/local/lib/libmp3lame.so.0.0.0. Compiling now and we'll see if that works.
  • Derek Gathright · 1 year ago
    Damn.... same error.

    The non-linux-super-user in me think it has to do with /usr/lib/libavformat.so.50
    considering my missing function is named av_fifo_generic_write(). Could be a coincidence though.


    [root@140859-www1 ~]# find /usr/ -name libavformat.so*
    /usr/local/lib/libavformat.so
    /usr/local/lib/libavformat.so.52
    /usr/local/lib/libavformat.so.52.16.0
    /usr/lib/libavformat.so.51
    /usr/lib/libavformat.so.51.7.0
    /usr/lib/libavformat.so.50
  • Greg Clinton · 1 year ago
    Try putting copies of all the libavformat files in both /usr/lib and /usr/local/lib. I don't think you need to re-compile.
  • Derek Gathright · 1 year ago
    Hmm... didn't seem to work either.
  • Chris · 1 year ago
    @11

    "Issue when compiling FFMPEG on RHEL4"
    You should use RPM to update all your -devel libraries that ffmpeg relies on, then try to recompile. You have some library conflicts. The best thing would be to add the dag repo in yum then to update it with yum because it sounds like you're not up on binary linkage.
  • Derek Gathright · 1 year ago
    Thanks. I did manage to get everything working after updating some libraries. I'll have to do a bit more maintenance to make sure everything else is up to snuff.
  • Chris · 1 year ago
    Basically when you run configure, pkg-config macro replaces the right version of the libraries to the Makefile. If you had old packages, and manually updated the libraries, pkg-config would have pointed to the wrong files or files that are no longer there. That is a common problem for people not used to RPM.

    Glad to hear you got it sorted out.