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

When I try to run Maya from the terminal, I get:

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

How do I solve this?

Note: Maya is a third-party software.

share|improve this question
could you try sudo apt install libtiff5 ? And if it's already installed, please say if your system is 32 or 64 bit – Zanna Jun 13 at 10:06
[libtiff5 is already the newest version (4.0.6-1)] And i am using x64bit PC.. – Hayet Mahmud Jun 14 at 9:04
yep, so make symlink as explained in answer below – Zanna Jun 14 at 9:09
up vote 5 down vote accepted

You're missing the TIFF library. apt-cache search libtiff shows packages, you'll need libtiff4:

sudo apt-get install libtiff4
share|improve this answer

Ubuntu 16.04 has libtiff5 (included in installation or available in repositories) which provides but not This causes problems for applications that look for as detailed here

First do

sudo apt install libtiff5

You will likely find it is already installed. However, if not, see if this fixes the problem (unlikely). To get Maya to use instead of (apparently it is the same) you can create a symlink in the same directory named '' pointing to

To do this in a 32-bit system enter:

sudo ln -s /usr/lib/i386-linux-gnu/ /usr/lib/i386-linux-gnu/

In a 64-bit system it would be:

sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/

If unsure, you can find the library on your system like this:

locate -b libtiff

Then you will be able to get the path correct (if you just installed libtiff5, you have to first do sudo updatedb for locate to find it)

share|improve this answer
Thank you @Zanna. your solution actually helped me. but im getting the another error. Maya is crashing while trying to open. I guess it has something to do with my hardware i assume. ---------------- __libc_start_main /usr/autodesk/maya2016/bin/maya.bin() [0x40e06d] Segmentation fault (core dumped) – Hayet Mahmud Jun 14 at 9:16
@HayetMahmud I thought the symlink might have caused the segfault, but looking at your stack trace it appears not... good luck fighting that one =/ – Zanna Jun 14 at 10:35

I'm running in to the same error with a different program. I'm using Oneiric (Xubuntu 11.10)

$ sudo apt-get install libtiff3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libtiff3

Libtiff4 is already installed on this system, and clearly doesn't provide

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

I couldn't find there, but I did find it in /usr/lib/i386-linux-gnu/. So the command I ran was:

sudo ln -s /usr/lib/i386-linux-gnu/ /usr/lib/i386-linux-gnu/

And it worked for the game I was trying to play (

share|improve this answer

You can create a soft link:

sudo ln -s /usr/lib/ /usr/lib/
share|improve this answer
On a 64-bit system you need to do ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/ instead. – N.N. Mar 19 '13 at 8:42
@N.N. I cant make work even with that. I can install libtiff5 or libtiff4-dev. None of them worked. I've tried most of the command and symbolic links here and still cannot run that. Im looking to run carnival-gui for festival tts. – erm3nda Aug 12 '15 at 13:38

If Maya was not built on your machine (i.e. installed from a binary) then you need libtiff3, libtiff4 will not fix your issue as it includes "", not "". Or you could build Maya from source on your machine.

share|improve this answer

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.