I installed OpenFOAM on a remo
I installed OpenFOAM on a remote computer. I do not have root account for it. OS:redhat 9.0; OpenFOAM1.3.
I re-complied the whole files and passed the getting started case in the README. However, when I run FoamX, it came the following error: Starting NameServer with inet:tunc:1234 ... nsd: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory. Could anyone give me some advice about that? Thanks |
hello!
you need install the
hello!
you need install the pakage libelf.so.0, if you dont find it , u can download it from internet. thanks |
Weiyan, there a heap of posts
Weiyan, there a heap of posts on this issue. You can do a search for libelf.so.0
Alternatively you can seek some further advice from the openfoam wiki. Go to: http://openfoamwiki.net/index.php/Main_FAQ#FoamX_is_unable_to_contact_name_serve r Good luck http://www.cfd-online.com/OpenFOAM_D...part/happy.gif Shaun.D |
Hello,
I do not have the righ
Hello,
I do not have the right to upgrade the OS system. Could I install the package under my user account? How to setup the environment? Thanks |
Hi,
look for that library (li
Hi,
look for that library (libelf.so) in the /usr/lib/ or /usr/lib64/ directories. Then create a symbolic to that file and place it in the $FOAM_LIBBIN/ directory. Good luck |
Hi,
I used following comma
Hi,
I used following commands: $ rpm -q -l elfutils-libelf-0.76-3 /usr/lib/libelf-0.76.so /usr/lib/libelf.so.1 [weiyan2@tunc ~]$ cd /usr/lib [weiyan2@tunc lib]$ ln -s libelf.so.1 libelf.so.0 ln: creating symbolic link `libelf.so.0' to `libelf.so.1': Permission denied It seems that I have no right to link `libelf.so.0' and `libelf.so.1'. Is there any other methods? Thanks |
You need to have admin rights
You need to have admin rights for the OS as far as I am aware.
Shaun.D |
Hello,
I resolve that probl
Hello,
I resolve that problem by following steps. Thanks for your advices! [weiyan2@tunc ~]$ cd $FOAM_LIBBIN [weiyan2@tunc linuxGcc4DPOpt]$ rpm -q -a | grep libelf elfutils-libelf-0.76-3 [weiyan2@tunc linuxGcc4DPOpt]$ rpm -q -l elfutils-libelf-0.76-3 /usr/lib/libelf-0.76.so /usr/lib/libelf.so.1 [weiyan2@tunc linuxGcc4DPOpt]$ ln -s /usr/lib/libelf.so.1 libelf.so.0 [weiyan2@tunc linuxGcc4DPOpt]$ FoamX |
Hi,
I tried the method as w
Hi,
I tried the method as weiyan, but it shows as follow: [guli@localhost guli]$ cd $FOAM_LIBBIN [guli@localhost linuxGcc4DPOpt]$ rpm -q -a | grep libelf elfutils-libelf-0.76-3 [guli@localhost linuxGcc4DPOpt]$ rpm -q -l elfutils-libelf-0.76-3 /usr/lib/libelf-0.76.so /usr/lib/libelf.so.1 [guli@localhost linuxGcc4DPOpt]$ ln -s /usr/lib/libelf.so.1 libelf.so.0 [guli@localhost linuxGcc4DPOpt]$ FoamX Starting NameServer with inet:localhost.localdomain:1234 ... Starting FoamX Host Browser with inet:localhost.localdomain:1234 ... FoamXHostBrowser: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by FoamXHostBrowser) runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 6628). Can anyone help? |
All times are GMT -4. The time now is 06:31. |