error while loading shared libraries:

From: Haijun Tian <>
Date: Fri, 7 May 2010 00:26:24 +0800

Hi guys,

After installing the gadget2, I tried to get started following users-guide,

*mpirun -m mpihost -np 4 ./Gadget2 parameterfiles/cluster.param*
but I always get the following errors:*

/home/hjtian/myworks/gadget2/Gadget-2.0.6/Gadget2/./Gadget2: error while
loading shared libraries: cannot open shared object file: No
such file or directory

and then I used

find file locates in /usr/lib/

so I modified my .bashrc file to add the enviroment variable like following,


and then
*source .bashrc*

to make sure the environment variable be effective.

unfortunately, the above errors still exist. what is up? who can help me?

Best wishes,
Received on 2010-05-06 18:26:26

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:31 CET