FS#57909 - [Electron] Doesn't link against system ffmpeg.

Attached to Project: Community Packages
Opened by Kitteh (NamedKitten) - Wednesday, 21 March 2018, 08:28 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 21 March 2018, 15:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When ffmpeg-full from the AUR is installed and I compile electron from the ABS it gives the error when running electron:
electron: error while loading shared libraries: libavcodec.so.57: cannot open shared object file: No such file or directory

The version of that library from ffmpeg-full is libavcodec.so.58 (libavcodec.so.58.14.100)

Snippit from ldd on the resulting electron binary:
libavcodec.so.57 => not found
libavformat.so.57 => not found
libavutil.so.55 => not found
I think it could be compiling its own internal ffmpeg but not shipping it in the package? No idea.

Steps to reproduce:
Install ffmpeg-full from the AUR.
Build electron from the ABS.
Run electron.

This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 21 March 2018, 15:23 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Unsupported ffmpeg
Comment by Levente Polyak (anthraxx) - Wednesday, 21 March 2018, 10:52 GMT
The solution here is not to stop using system ffmpeg, linking against system library is the way to go. The issue lays somewhere else, most likely on your side as there is nothing precompiled in their repo that links against a sspecific soname
Comment by Kitteh (NamedKitten) - Wednesday, 21 March 2018, 11:52 GMT
I have had someone else follow the exact same steps and have tried it on a fresh system and it does the same. No idea what is happening.

Loading...