Re: FFmpeg-8.0 Warning

"Joe Locash" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 9/23/25 6:40 PM, Bruce Dubbs ([email protected] via blfs-dev 
Mailing List) wrote:
> On 9/23/25 5:16 PM, Joe Locash ([email protected] via blfs-dev Mailing 
> List) wrote:
>> On 9/23/25 1:45 PM, Rahul Chandra ([email protected] via 
>> blfs-dev Mailing List) wrote:
>>> We can actually do more then just that. Because Firefox only links 
>>> to ffmpeg at runtime, you can actually keep both 8.0 and 7.1.1 
>>> installed (what I've been doing for the last week). You essentially 
>>> just have to keep all the .so files except the ones that should link 
>>> to the latest version (i.e ending in just .so and not .so.58). I've 
>>> been doing this for the last week and firefox works great for me and 
>>> packages are still linking to ffmpeg 8.0 at build time. Something 
>>> similar to this: 
>>> https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg4.4 
>>
>> I would say this is the best approach. Firefox-140 only needs the 
>> ffmpeg-7.1 libs and that's easy to do. Do a normal build of ffmpeg-7 
>> but only install the libs
>> :
>>
>>    make DESTDIR=dest install
>> as root:
>>    for lib in dest/usr/lib/*; do
>>      if [[ $lib == *.so ]]; then
>>        ln -srf -- dest/usr/lib/"$(readlink "$lib")" "$lib"
>>      elif [[ ! -d $lib ]]; then
>>        mv "$lib" /usr/lib
>>      fi
>>    done
>
> I'm not sure if I got this right, but I installed ffmpeg8 as a 
> DESTDIR=/opt/ffmpeg8/
>
> Then I created a script:
>
> $ cat firefox-ffmpeg8
> #! /usr/bin/bash
>
> export LD_LIBRARY_PATH=/opt/ffmpeg8/usr/lib/
> firefox
>
>
> And ran a random youtube video.  It seemed to play fine, but I'm not 
> sure if it picked up the right libraries.
>
> Is there a way to see what libraries are being used?

I'm not sure. If you have ffmpeg-7 installed you will not see an issue.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.