# Problem with libavformat.so.56 at paraview 5.2

**URL:** https://discourse.paraview.org/t/problem-with-libavformat-so-56-at-paraview-5-2/4574
**Category:** ParaView Support
**Created:** [June 14, 2020, 5:59pm UTC](https://discourse.paraview.org/t/problem-with-libavformat-so-56-at-paraview-5-2/4574 "2020-06-14T17:59:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mfduqued](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c2a13f/32.png) [@mfduqued](https://discourse.paraview.org/u/mfduqued)
#### Post date: [June 14, 2020, 5:59pm UTC](https://discourse.paraview.org/t/problem-with-libavformat-so-56-at-paraview-5-2/4574/1 "2020-06-14T17:59:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 15, 2020, 3:34am UTC](https://discourse.paraview.org/t/problem-with-libavformat-so-56-at-paraview-5-2/4574/2 "2020-06-15T03:34:59Z")

</div>

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`

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [January 6, 2021, 2:05pm UTC](https://discourse.paraview.org/t/problem-with-libavformat-so-56-at-paraview-5-2/4574/3 "2021-01-06T14:05:12Z")

</div>

> [@mwestphal](#):
>
> 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`).
