Skip to main content

Blender missing shared library gotcha!

Here is a simple solution to Blender missing '' shared library on Ubuntu Xenial (16.04.1 LTS) box. There are numerous posts about this problem but very few solutions.

$ blender
blender: error while loading shared libraries: cannot open shared object file: No such file or directory

Solution for Blender missing library

Let me share what worked for me. Let's try to locate and add the library to ldconf path.

# Install the libavcodec-extra package using apt-get package manager.
$ sudo apt-get install libavcodec-extra-56

# Verify the location of file path.  

# Create a new ldconfig file with proper path to the shared library. 
$ sudo nano /etc/

# Add the following line in the file. 

# Rerun ldconf 
$ sudo ldconf 

# Start blender normally. 
$ blender  

That's all folks!. Enjoy blender.