CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   FoamX libelfso0 (https://www.cfd-online.com/Forums/openfoam-installation/57636-foamx-libelfso0.html)

mockealm June 24, 2006 18:25

I have some problems with foam
 
I have some problems with foamX

root@pc1:~# FoamX
Starting NameServer with inet:pc1:1234 ...
nsd: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory


I have tried the following with no suckses.

# cd /usr/lib
# ln -s libelf.so.1 libelf.so.0

I run Slackware

fra76 June 26, 2006 02:48

If you're running a 64bit oper
 
If you're running a 64bit operating system, you can try:
# cd /usr/lib64
# ln -s libelf.so.1 libelf.so.0

mockealm June 26, 2006 11:11

Iam running 32bit
 
Iam running 32bit

msrinath80 June 28, 2006 20:06

What does the output of the fo
 
What does the output of the following command tell you?

[username@hostname pwd]$ find / -name libelf* -print

mockealm June 29, 2006 11:22

thanks, it loiks like this
 
thanks, it loiks like this

root@pc1:~# find / -name libelf* -print
/root/libelf.so.0
root@pc1:~#

mockealm June 29, 2006 11:26

or root@pc1:~# username@hos
 
or

root@pc1:~# [username@hostname pwd]$ find / -name libelf* -print
-bash: [username@hostname: command not found
root@pc1:~#

msrinath80 June 29, 2006 15:37

1. You are certainly new to th
 
1. You are certainly new to the *nix world. I understand that. Nothing wrong, we've all been there.

2. First advice: Stop working as root user. The root user is much more powerful than the standard windows Administrator. So please stop using it. Create a normal user using the appropriate GUI tool.

3. Copying libelf.so.0 to the /root direcotory is not going to help in any way.

4. OpenFOAM will look for libelf.so.0 in the system lib directory (usually /usr/lib or /usr/lib64 depending on the architecture). So if you want to give a quick check, copy the libelf.so.0 file to /usr/lib or /usr/lib64 and see if that helps.


All times are GMT -4. The time now is 11:15.