ERROR: libmp3lame >= 3.98.3 not found

后端 未结 6 1940
一生所求
一生所求 2021-02-06 02:58

I am installing ffmpeg utility, but I am facing libmp3lame >= 3.98.3 not found not found error. I am able to find lame-3.99.5-1.el6.rf.x86_64.rpm an

6条回答
  •  臣服心动
    2021-02-06 03:34

    What worked for me was building lame from source. Download lame from here: https://sourceforge.net/projects/lame/files/lame/3.99/, then extract and install:

    tar -zxvf lame-3.99.5.tar.gz 
    cd lame-3.99.5
    ./configure
    make
    sudo make install
    

    Check to see where libmp3lame.a is:

    locate libmp3lame.a

    Its probably in /usr/local/lib.

    Now when you go to configure ffmpeg, try adding that path to the end of your ./configure string. For me it made the difference. e.g.:

    --extra-ldflags=-L/usr/local/lib
    

提交回复
热议问题