Error while loading shared libraries

Hello,

I am trying to run a program from my local account and receive the following error:

/local/app: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory

On the root account (which I DO NOT have access to), I see that libtiff.so.4 exists in the /usr/lib folder. I've only read that you can create a symbolic link to so.3 from the so.4 if you have root access.

Is there an alternate way of getting libtiff.so.3 on either my local account (tried it once and my permission was denied) or through something like a symbolic link? Can I put something in my .bashrc file that will reference the libtiff.so.4 file as libtiff.so.3? Please, all suggestions are welcome.

Thank you

Do this

cd
mkdir lib
cd lib
ln -s /usr/lib/libtiff.so.4 libtiff.so.3
cd

and add this in your .profile

LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$HOME/lib
export LD_LIBRARY_PATH

You are incredible. Thank you so much!

@MadeInGermany: did you mean:

LD_LIBRARY_PATH+=${LD_LIBRARY_PATH:+:}$HOME/lib