|
[Sponsors] |
May 11, 2007, 17:45 |
I installed OpenFOAM on a remo
|
#1 |
New Member
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17 |
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 |
|
May 11, 2007, 20:15 |
hello!
you need install the
|
#2 |
Member
hamdi
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
hello!
you need install the pakage libelf.so.0, if you dont find it , u can download it from internet. thanks |
|
May 11, 2007, 21:17 |
Weiyan, there a heap of posts
|
#3 |
Member
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 17 |
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 Shaun.D |
|
May 11, 2007, 21:30 |
Hello,
I do not have the righ
|
#4 |
New Member
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17 |
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 |
|
May 11, 2007, 21:59 |
Hi,
look for that library (li
|
#5 |
New Member
Hugo T. C. Pedro
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
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 |
|
May 11, 2007, 21:59 |
Hi,
I used following comma
|
#6 |
New Member
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17 |
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 |
|
May 11, 2007, 22:00 |
You need to have admin rights
|
#7 |
Member
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 17 |
You need to have admin rights for the OS as far as I am aware.
Shaun.D |
|
May 12, 2007, 00:15 |
Hello,
I resolve that probl
|
#8 |
New Member
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17 |
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 |
|
September 18, 2007, 00:18 |
Hi,
I tried the method as w
|
#9 |
New Member
gulitom
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with starting FoamX | laker | OpenFOAM Installation | 2 | May 13, 2008 10:34 |
FoamX problem | richardhsieh | OpenFOAM Installation | 4 | September 17, 2007 23:41 |
Problem running FoamX | ianz8802 | OpenFOAM Installation | 11 | March 23, 2007 12:22 |
FoamX problem | joegi | OpenFOAM Installation | 8 | November 5, 2006 07:06 |
FoamX nsref problem | svun | OpenFOAM Installation | 1 | June 2, 2006 05:49 |