From: mquinson Date: Wed, 10 Jun 2009 15:00:24 +0000 (+0000) Subject: A word about LD_LIBRARY_PATH in the first lesson of the GRAS tutorial X-Git-Tag: SVN~1315 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/47f39b9e8bd38798c5e3aefda944d57a95466a09?ds=sidebyside 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 --- 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