CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem about FoamX (https://www.cfd-online.com/Forums/openfoam-installation/57494-problem-about-foamx.html)

williamscn May 11, 2007 16:45

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

hamcer May 11, 2007 19:15

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

shaun May 11, 2007 20:17

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

williamscn May 11, 2007 20:30

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

hugo_pedro May 11, 2007 20:59

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

williamscn May 11, 2007 20:59

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

shaun May 11, 2007 21:00

You need to have admin rights
 
You need to have admin rights for the OS as far as I am aware.

Shaun.D

williamscn May 11, 2007 23:15

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

gulitom September 17, 2007 23:18

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.