Setting path for a stand alone library in home directory

Hi all,

This is probably a basic question. I had installed a stand-alone library called szip in my home directory, as I don't have the necessary root permission.

I tried to set an environment for both include and lib files in my .cshrc script as

setenv /home/szip/lib
setenv /home/szip/include

But it is not working as the software which uses these libraries are not detecting the path. What should I do? FYI there is no bin directory for szip, and and has only these two directories.

Please help me out.

Cheers.

Look at the environment variable LD_LIBRARY_PATH....

And export them to use it,

Hi,

Thanks for the prompt reply. I am a newbie and some of my questions may sound naive, so please bear with me. I set path in LD_LIBRARY_PATH but its still not working. The software is looking for a szlib.h file which is in the /home/szip/include directory. How do I set the include directory path?

And how do you export path in a .cshrc file?