Installation error: error while loading shared libraries: – part 2


I have followed your instructions and download the file but i am still getting the following error message: [kirkpat@kirkpat Download]$ su Password: [root@kirkpat Download]# ll total 6060 -rw-rw-r--. 1 kirkpat kirkpat 1120 2009-


ASReml is not finding because it is not on one of the standard search paths. As always, there are a number of possible solutions:

First locate It is quite possibly in /opt/openmotif/usr/lib. If you cannot find it you will have to use find, and alter my suggestions below appropriately:

find / -name -print

Then you have a choice of:

1. Create a link from one of the standard locations, e.g. /usr/lib or /usr/X11R6/lib, to the file you have found.

 ln -s /opt/openmotif/usr/lib/ /usr/X11R6/lib/

2. Add /opt/openmotif/usr/lib to the config files (see man ldconfig).

3. Add /opt/openmotif/usr/lib to the LD_LIBRARY_FILES environment variable, most easily done within the ASReml script, by inserting the lines


after “export ASREMLTEMP”

I would suggest the third choice is simplest.

Applies to:

  • ASReml 2 for Linux


Comments are disallowed for this post.

Comments are closed.