Submitted by katterfe on Thu, 01/20/2011 - 18:28

Hey everybody,

after installing Liggghts on Fedora 14 the following error message occurs when I try to start liggghts:

liggghts: error while loading shared libraries: cannot open shared object file: No such file or directory

I have installed the newest version of openmpi and the mentioned file can be found in /usr/lib/openmpi/lib

I attach a screenshot.

Thanks for your help!

Image icon liggghts.jpg278.87 KB
ckloss's picture

ckloss | Thu, 01/20/2011 - 18:43

Hey Andre,

we had similar issues - under some obscure circumstances, some fedora versions suffer from problems with the openmpi installation, where the system does not find the libs.

One way to circumvent this is to set symbolic links in a way like:

ln -s /usr/lib/openmpi/lib/ /usr/lib

You potentially have to to this also for other libs (but you will see it when the error messages come :-)
Hope that works... greetings to Magdeburg!


katterfe | Thu, 01/20/2011 - 22:19

Thanks Christioph,

I had to do the link also for
but now it works!

Thanks again!

Tamoghna | Tue, 06/25/2013 - 16:22

For 64bit change to:
sudo ln -s /usr/lib64/openmpi/lib/ /usr/lib64

manjura | Wed, 07/03/2013 - 19:48


The executable liggghts-dev was working fine. But i recently recompile openfoam and paraview, after that I am getting the similar error as someone mentioned above. The executable liggghts-dev is giving me error. I am attaching a snapshot of the error.

A requested component was not found, or was unable to be opened. This
means that this component is either not installed or is unable to be
used on your system (e.g., sometimes this means that shared libraries
that the component requires are unable to be found/loaded). Note that
Open MPI stopped checking at the first component that it did not find.

Host: manjura-Inspiron-660
Framework: crs
Component: none
[manjura-Inspiron-660:31721] *** Process received signal ***
[manjura-Inspiron-660:31721] Signal: Segmentation fault (11)
[manjura-Inspiron-660:31721] Signal code: Address not mapped (1)
[manjura-Inspiron-660:31721] Failing at address: 0x28
[manjura-Inspiron-660:31721] [ 0] /lib/x86_64-linux-gnu/ [0x7f821dc22cb0]
[manjura-Inspiron-660:31721] [ 1] /usr/lib/ [0x7f821d3d1518]
[manjura-Inspiron-660:31721] [ 2] /usr/lib/ [0x7f821d3e390e]
[manjura-Inspiron-660:31721] [ 3] /usr/lib/ [0x7f821d3c20ee]
[manjura-Inspiron-660:31721] [ 4] /usr/lib/ [0x7f821d3c1a59]
[manjura-Inspiron-660:31721] [ 5] /usr/lib/ [0x7f821d613a0d]
[manjura-Inspiron-660:31721] [ 6] /usr/lib/ [0x7f821e3782e1]
[manjura-Inspiron-660:31721] [ 7] /usr/lib/ [0x7f821e3993fb]
[manjura-Inspiron-660:31721] [ 8] liggghts-dev(main+0x1b) [0x48b4ab]
[manjura-Inspiron-660:31721] [ 9] /lib/x86_64-linux-gnu/ [0x7f821d87576d]
[manjura-Inspiron-660:31721] [10] liggghts-dev() [0x48c821]
[manjura-Inspiron-660:31721] *** End of error message ***

I couldn't find the missing files on /usr/lib64/openmpi/lib/ so that i can link them to /usr/lib

when i write 'which mpirun' on terminal it shows
it should be /usr/bin/mpirun

Any help?