Problem with libavformat.so.56 at paraview 5.2

Hi community

I installed paraview 5.2, but when I try to initialize it I have this error

/usr/local/lib/paraview-5.2/paraview: error while loading shared libraries: libavformat.so.56: cannot open shared object file: No such file or directory.

I already checked and I don’t have this file but I have these versions (ffmpeg4)

/usr/lib64/libavformat.so
/usr/lib64/libavformat.so.57
/usr/lib64/libavformat.so.57.56.101
/usr/lib64/ffmpeg4/libavformat.so
/usr/lib64/ffmpeg4/libavformat.so.58.20.100
/usr/lib64/ffmpeg4/libavformat.so.58

Although I have a newer version of libavformat, it doesn’t work. Why is paraview still not working?

I tried to do this

paraview-config --libs /usr/lib64/libavformat.so.57.56.101

but I got an error

Error: No such module: /usr/lib64/libavformat.so.57.56.101

Thanks for your help

Looks like you are using your distribution ParaView package. This package is not provided by Kitware.

First thing to do is to update your system fully.

If that does not work, try creating a link to the version ParaView is looking for, something like :

ln -s /usr/lib64/libavformat.so /usr/lib64/libavformat.so.56

This is dangerous; please do not do this. Not least because you’re messing with system-managed paths, but because these issues will cause crashes if any ABI-incompatible behavior is used. The fix is to rebuild paraview package against the new SONAME (libavformat.so.57).