1. Modify the file ".cshrc" to add a line setenv LD_LIBRARY_PATH /usr/local/lib if there is no "setenv LD_LIBARY_PATH" sentence in the file. Otherwise, add ":/usr/local/lib" at the end of the "setenv LD_LIBARY_PATH ..." sentence. For example: If you already have a line like "setenv LD_LIBRARY_PATH /usr/lll" in the file, then the line becomes "setenv LD_LIBRARY_PATH /usr/lll:/usr/local/lib". 2. At the begining of your program, add the two lines: #include using namespace std;