From 47f39b9e8bd38798c5e3aefda944d57a95466a09 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 10 Jun 2009 15:00:24 +0000 Subject: [PATCH] A word about LD_LIBRARY_PATH in the first lesson of the GRAS tutorial 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/gtut-tour-01-bones.doc b/doc/gtut-tour-01-bones.doc index 394d5258b6..5b4a5b2c95 100644 --- a/doc/gtut-tour-01-bones.doc +++ b/doc/gtut-tour-01-bones.doc @@ -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 ./_simulator platform.xml deployment.xml\endverbatim +If you have an error message similar to +\verbatim +./_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 -- 2.20.1