CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Problem about FoamX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2007, 16:45
Default I installed OpenFOAM on a remo
  #1
New Member
 
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17
williamscn is on a distinguished road
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
williamscn is offline   Reply With Quote

Old   May 11, 2007, 19:15
Default hello! you need install the
  #2
Member
 
hamdi
Join Date: Mar 2009
Posts: 75
Rep Power: 17
hamcer is on a distinguished road
hello!

you need install the pakage libelf.so.0,
if you dont find it , u can download it from internet.

thanks
hamcer is offline   Reply With Quote

Old   May 11, 2007, 20:17
Default Weiyan, there a heap of posts
  #3
Member
 
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 17
shaun is on a distinguished road
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
shaun is offline   Reply With Quote

Old   May 11, 2007, 20:30
Default Hello, I do not have the righ
  #4
New Member
 
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17
williamscn is on a distinguished road
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
williamscn is offline   Reply With Quote

Old   May 11, 2007, 20:59
Default Hi, look for that library (li
  #5
New Member
 
Hugo T. C. Pedro
Join Date: Mar 2009
Posts: 2
Rep Power: 0
hugo_pedro is on a distinguished road
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
hugo_pedro is offline   Reply With Quote

Old   May 11, 2007, 20:59
Default Hi, I used following comma
  #6
New Member
 
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17
williamscn is on a distinguished road
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
williamscn is offline   Reply With Quote

Old   May 11, 2007, 21:00
Default You need to have admin rights
  #7
Member
 
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 17
shaun is on a distinguished road
You need to have admin rights for the OS as far as I am aware.

Shaun.D
shaun is offline   Reply With Quote

Old   May 11, 2007, 23:15
Default Hello, I resolve that probl
  #8
New Member
 
weiyan
Join Date: Mar 2009
Posts: 10
Rep Power: 17
williamscn is on a distinguished road
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
williamscn is offline   Reply With Quote

Old   September 17, 2007, 23:18
Default Hi, I tried the method as w
  #9
New Member
 
gulitom
Join Date: Mar 2009
Posts: 3
Rep Power: 17
gulitom is on a distinguished road
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?
gulitom is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with starting FoamX laker OpenFOAM Installation 2 May 13, 2008 09:34
FoamX problem richardhsieh OpenFOAM Installation 4 September 17, 2007 22:41
Problem running FoamX ianz8802 OpenFOAM Installation 11 March 23, 2007 11:22
FoamX problem joegi OpenFOAM Installation 8 November 5, 2006 06:06
FoamX nsref problem svun OpenFOAM Installation 1 June 2, 2006 04:49


All times are GMT -4. The time now is 18:24.