If an error occurs while loading the libavformat.so shared libraries on your computer, this guide may help you.
I have the same error. It was nice to do my job, so I suspect the latest development broke something.
$ version2.35. breakbroken 2.35Series 16Ubuntu 18.04Common core 4.15.0-34
$ information take ffmpegName: ffmpegDescription: Complete solution for recording, converting, streaming audio and video.Publisher: SnapcraftersContacts: https://github.com/snapcrafters/ffmpeg/issuesLicense: not configuredDescription: | FFmpeg is the basic structure of a multimedia system, capable of decoding, encoding, transcoding, multiplexing, demultiplexing, broadcasting, filter to play almost everything that humanity and machines have created. It looks like most of them darken old printers to the level of art. It doesn't matter if they were designed according to certain standards. committee, people or company.Orders: - ffmpegInstant ID: Ee7LGphwQR669pcfCCdl0oJQouta69toTracking: stableUpdate date: immediately at 14:31 CESTChannels: stable: 4.0.2 (206) 46 Mb - Candidate: â † ' Toys with: â † ' Fringe: 4.0.2 (250) -Installed: 45 MB 4.0.2 (206)46 Mb -
$ ffmpegLibGL error: Unable to load into driver: i965_dri.soLibGL error: car pointer is missingLibGL Error: Racer Crash: Load i965LibGL error: person cannot: load i965_dri.soLibGL Error: Missing Driver SuggestionLibGL error: Failed to load driver: i965LibGL error: Unable to load driver: skrast_dri.soLibGL error: Failed to load driver: skrastError X: GLXBadContext Request basic code 155 (GLX) Request additional code 6 () Serial number error # 55 Current serial number # 54FFmpeg variant n4.0.2 Copyright (c) 2000-2018 FFmpeg Developers with built-in gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1 ~ 04.16.10) 20160609 Configuration: --prefix = --prefix = / usr --disable-debug --disable-doc --disable-static --enable-avisynth --enable-cuda --enable-cuvid --enable-libdrm --enable -gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libtheora --enable-libtwolame - -enable-libv4l2 --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxcb --enable-nonfree --enable-nvenc --enable-omx --enable-runtime-cpudetect --enable- Generic --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib libavutil 56.14.100 from 56.14.100 libavcodec58. 18,100 / fifty eight. 18100 Libavformat 58.12.100 / 58.12.100 libavdevice 58.3.100 / 58.3.100 libavfilter eight. 16.100 / 126.96.36.199 libswscale 5.100 / several. 1,100 libswresample 3.100 / misc. 1,100 Libpostproc 55.1 100 / fifty five. 1,100
$ / snap / ffmpeg / current / usr / bin / ffprobe/ snap / ffmpeg / current / usr / bin / ffprobe: Error while launching libraries: libavdevice.so.58 shared: shared toy file cannot be opened: no such file and / or directory
$ find / snap / ffmpeg -name libavdevice.so.58/snap/ffmpeg/206/usr/lib/libavdevice.so.58$ search / snap / ffmpeg -name i965_dri.so/snap/ffmpeg/206/usr/lib/x86_64-linux-gnu/dri/i965_dri.so$ find / snap / ffmpeg -list skrast_dri.so/snap/ffmpeg/206/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
sudo find / -name libavdevice.so.52
You first found this file in this
/ usr / local / lib . Then add this library to the library path as a personal library. Add that you are in
Link: conf :
/ usr / local / lib
sudo Ffmpeg: Error loading shared libraries: libavdevice.so.52: Unable to run shared objects file
tl; dr: instructions for reading and collecting and installing PREFIX and / or
I did what I usually don't and put together ffmpeg today because the ffmpeg-user mailing collection only requires / strongly prefers / supports the current git vertex. I didthis is because I had corrupted AVI files that was also wondering if they could be recovered:
Since I recently compiled ffmpeg, I thought I was going to get build statistics from John Van Sickle, but they are a little out of date.
Then I got the ffmpeg source,
configure... which I thought should be sane, but got:
Error in Internet Shared Libraries: libavdevice. so.59: can open a shared object file: there is no such file or there may be a directory. My system library libavdevice was version 58. Hmm. I thought I compiled statically, but:
./ffmpeg: ELF LSB 64-bit Pie executable, x86-64, specific version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID [sha1] = 6b4340cce612e0ccba534da4100c363d4aa578ef, for GNU / Linux 4.4.0, not removed
I feel compelled to admit that due to
makeI had to run a strange product binary out of the box * without further interaction; take simple compilation for granted.
It's much easier to gain traction in the long run; but I didn't want to clutter up System, my package handled binaries or libraries. Fortunately, this is possible with the
PREFIXconfig option, specifically: Contains “
prefix / lib: commonly generated libraries (like libavutil, libavcodec, libavformat, etc. in the FFmpeg method)â € œ.
* It is still possible to tell ffmpeg where to examine libraries by prefixing sell for
LD_LIBRARY_PATH = / path / to / lib