#8681 closed defect (invalid)
Possible error in Ffmpeg make
Reported by: | Michael A Baum | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I think there may be an error in the make files for Ffmpeg as of 22 May 2020. Briefly, library files created for Ffmpeg under Fedora linux are placed in a directory where they are not found by the program.
Environment: Linux (Fedora) 5.6.13-200.fc31.x86_64
Ffmpeg version: cloned on 22 May 2020 at 17:00 EDT with:
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
Configure was run with the addition of:
--enable-libjack
--enable-libmp3lame
--enable-libfdk-aac
--enable-shared
No changes were made to the default installation directories.
Ran make -j9 and make install (under sudo).
When called, ffmpeg exits with a series of errors in loading shared libraries. The libraries:
libavdevice.so.58.9.103
libavfilter.so.7.82.100
libavformat.so.58.43.100
libavutil.so.56.46.101
libavcodec.so.58.87.101
libswscale.so.5.6.101
libswresample.so.3.6.100
are installed in /usr/local/lib but apparently are not found there by the program. Adding symlinks for the libraries in
/usr/lib seems to solve the problem.
Change History (2)
comment:1 by , 4 years ago
Component: | ffmpeg → undetermined |
---|---|
Keywords: | makefile libraries location removed |
Resolution: | → invalid |
Status: | new → closed |
comment:2 by , 4 years ago
Apparently it's a quirk of Fedora and RedHat in general that the /usr/local lib directories are not listed in /etc/ld.so.conf.d/ by default and need to be added for specific installations if the installer uses those directories. Perhaps it's better handled by a note in the README.
The fact that your distribution does not by default look in /usr/local/lib for shared libraries does not sound like an issue that can be fixed in FFmpeg.