An Important Step, LD_LIBRARY_PATH

So far, the program that make use of ComLinC should work. One last thing to do is to let the dynamic library loader be able to find the shared libraries at run time. To do this, export the following environment value before running: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:libdir, where libdir is the place the shared library locates. To automate this step, put the above command in the .bashrc file in the home directory.

Note that this is not necessary if all the necessary libraries are put in the system library path such as /lib or /usr/lib.



Kefei Lu 2007-12-03