Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A word about LD_LIBRARY_PATH in the first lesson of the GRAS tutorial
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 10 Jun 2009 15:00:24 +0000 (15:00 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 10 Jun 2009 15:00:24 +0000 (15:00 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6325 48e7efb5-ca39-0410-a469-dd3cf9ba447f

doc/gtut-tour-01-bones.doc

index 394d525..5b4a5b2 100644 (file)
@@ -183,6 +183,16 @@ There is nothing to know to start your processes in RL. Simply call the
 generated binaries, and that's it. To start the simulation, simply call:
 \verbatim ./<project>_simulator platform.xml deployment.xml\endverbatim
 
+If you have an error message similar to 
+\verbatim 
+./<project>_simulator: error while loading shared libraries: libsimgrid.so.2: cannot open shared object file: No such file or directory
+\endverbatim
+it simply means that the dynamic linker of you system fails to find
+the simgrid library. The easiest way to solve this is to declare a
+LD_LIBRARY_PATH shell variable pointing to the directory where your
+library lives (that's /opt/simgrid/lib on my machine because I passed
+--prefix=/opt/simgrid to the configure script).
+
 Here is an example of execution: \include 01-bones.output
 
 That's it. You are done with this lesson and can now write, build and