Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently downloaded a binary of Blender, and upon running it on got the following error:

jdphenix@jdphenix:~/blender/blender_59865$ ./blender
./blender: error while loading shared libraries: cannot open shared object file: No such file or directory

My first thought was to search for libpng using apt-cache, but no versions matched what Blender was looking for, so I downloaded the libpng v15 source from and built it using the normal ./configure, make install type routine.

After this, I still got the same error, so I checked whereis:

jdphenix@jdphenix:~/blender/blender_59865$ whereis /usr/local/lib/ /usr/local/lib/

It where I expected it to be. Checked and saw blender --help. No dice, because it requires to even do that.

At this point, I feel that I might be missing something fundamental here. Is there something else I can break/unbreak/try to get this up and running?

share|improve this question
up vote 3 down vote accepted

OK, it seems that Blender seeks this library inside /usr/lib instead of /usr/local/lib. The answer is trivial: make there symbolic link:

sudo ln -s /usr/local/lib/ /usr/lib

Else, you can change prefix while ./configure your

./configure --prefix=/usr

Thus make install will install direct into /usr/lib.

share|improve this answer
Something else ended up panning out quite nicely - I just installed the blender package from the official ppa (sudo apt-get install blender), it took care of the dependencies in one install step. I'm even able to compile without much work after that :) – jdphenix Sep 17 '13 at 0:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.