title: Eclipse CDT Auto Include Shared Libraries
body: <p>I am working in Eclipse: Helios Service Release 1 using Eclipse CDT compiling using g++</p>
  
  <p>I have just started to have a go at using Shared Libraries in my projects but have run into a little problem. I have three projects A, B and C. A and B are both Shared Libraries and C is an executable.</p>
  
  <p>Under eclipse I have managed to reference A and B from C and C compiles and runs correctly but when I try and run the generated C program manually outside of Eclipse I get the following error:</p>
  
  <p>"<strong>error while loading shared libraries: libA.so: cannot open shared object file: No such file or directory</strong>"</p>
  
  <p>I have tried moving A.so B.so and C into the same folder and run C but I get the same error. </p>
  
  <p>Can I get Eclipse to build my project with all the files in the same place and them still run when I move them to a new location?</p>