you need to add this to your environment file (assuming you're using tcsh). <br><br>setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:{wherever CLHEP is}/lib<br><br>if you're using bash, try<br><br>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{wherever CLHEP is}/lib
<br>
<br>that should fix up the problem.<br>cheers<br>lucky<br><br><div><span class="gmail_quote">On 12/05/07, <b class="gmail_sendername"><a href="mailto:danieljw@phas.ubc.ca">danieljw@phas.ubc.ca</a></b> <<a href="mailto:danieljw@phas.ubc.ca">
danieljw@phas.ubc.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I have compiled GATE (and all associated software, see below for versions).
<br>I navigated to<br><br>/home.mirg/danieljw/GATE/gate_v3.1.1/bin/Linux-g++<br><br>and ran Gate:<br><br>bin/Linux-g++> ./Gate<br>./Gate: error while loading shared libraries: <a href="http://libCLHEP-2.0.2.3.so">libCLHEP-2.0.2.3.so
</a>: cannot<br>open shared object file: No such file or directory<br><br>The problem is that I have installed the CLHEP libraries. I went into that<br>directory and explicitly found that file:<br><br>danieljw@zulu:~/CLHEP/lib> pwd
<br>/home.mirg/danieljw/CLHEP/lib<br>danieljw@zulu:~/CLHEP/lib> ls | grep <a href="http://libCLHEP-2.0.2.3.so">libCLHEP-2.0.2.3.so</a><br><a href="http://libCLHEP-2.0.2.3.so">libCLHEP-2.0.2.3.so</a><br><br>I know that Geant4 used CLHEP fine. I do not know how to tell GATE where
<br>to find this file. Does anyone have any suggestions? I posted some specs<br>below.<br><br>Thanks,<br><br>Daniel<br><br>PS. Thank you to Peter, your suggestion fixed the problem.<br><br>OS: SuSe 9.2<br>CPU: AMD Athlon 64 3500+
<br><br><br>ROOT: 5.12<br>GEANT4: 8.1.p02<br>CLHEP: <a href="http://2.0.2.3">2.0.2.3</a><br><br><br><br><br>_______________________________________________<br>Gate-users mailing list<br><a href="mailto:Gate-users@lists.healthgrid.org">
Gate-users@lists.healthgrid.org</a><br><a href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br></blockquote></div><br>