I'm trying to install Gauss 12 in Ubuntu 12.1 x64 on a server in the cloud and use it in the terminal.
After installation, I try to run
tgauss and I get the error:
./tgauss: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
Do you have idea what I might be doing wrong?
Thanks,
Laura
1 Answer
1
libiomp5.so is the threading library used by GAUSS. You need to set your LD_LIBRARY_PATH environment variable. LD_LIBRARY_PATH is one of the places that Linux will look for shared libraries needed by an executable. Your system may have this set already. You can check by entering this from the command line:
echo $LD_LIBRARY_PATH
You should see either some paths separated by colons, or an empty line. If you see an empty line, meaning that your LD_LIBRARY_PATH is not set, you can set it to the location of your GAUSS home (which contains libiomp5.so) like this:
export LD_LIBRARY_PATH=/home/myname/gauss12
If LD_LIBRARY_PATH has a current value, then you will want to append your GAUSS home directory to the end of this list like this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/myname/gauss12
Your Answer
1 Answer
libiomp5.so is the threading library used by GAUSS. You need to set your LD_LIBRARY_PATH environment variable. LD_LIBRARY_PATH is one of the places that Linux will look for shared libraries needed by an executable. Your system may have this set already. You can check by entering this from the command line:
echo $LD_LIBRARY_PATH
You should see either some paths separated by colons, or an empty line. If you see an empty line, meaning that your LD_LIBRARY_PATH is not set, you can set it to the location of your GAUSS home (which contains libiomp5.so) like this:
export LD_LIBRARY_PATH=/home/myname/gauss12
If LD_LIBRARY_PATH has a current value, then you will want to append your GAUSS home directory to the end of this list like this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/myname/gauss12