When I try to run Maya from the terminal, I get:
error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory.
How do I solve this?
Note: Maya is a third-party software.
When I try to run Maya from the terminal, I get:
error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory.
How do I solve this?
Note: Maya is a third-party software.
Repositories for 16.04, 16.10, 17.04 and 17.10 have
libtiff5
(most likely included in installation) which provideslibtiff.so.5
but notlibtiff.so.3.
This causes problems for applications that look forlibtiff.so.3
as detailed in this bug reportFirst do
You will likely find it is already installed. However, if not, see if this fixes the problem.
If not, try this workaround: To fool applications into using
libtiff.so.5
instead oflibtiff.so.3
, you can create a symlink in the same directory namedlibtiff.so.3
pointing tolibtiff.so.5.
This may not work for all applications, since the libraries are not exactly the same.To do this in a 32-bit system enter:
In a 64-bit system it would be:
If unsure, you can find the library on your system like this:
Then you will be able to get the path correct (if you just installed libtiff5, you have to first do
sudo updatedb
forlocate
to find it)You're missing the TIFF library.
apt-cache search libtiff
shows packages, you'll needlibtiff4
:I'm running in to the same error with a different program. I'm using Oneiric (Xubuntu 11.10)
Libtiff4 is already installed on this system, and clearly doesn't provide
libtiff.so.3
.I couldn't find
libtiff.so.4
there, but I did find it in/usr/lib/i386-linux-gnu/
. So the command I ran was:And it worked for the game I was trying to play (http://www.happypenguin.org/show?interLOGIC)
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 "libtiff.so.4", not "libtiff.so.3". Or you could build Maya from source on your machine.You can create a soft link:
Install from source
Tested on Ubuntu 14.04.