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

FoamX libelfso0

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2007, 06:39
Default Hi All, I just installed Op
  #1
New Member
 
Nuno Silvestre
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 2
Rep Power: 0
nunoinlux is on a distinguished road
Hi All,

I just installed OpenFoam-1.3 following the README file instructions and everything seems to be ok. However when i run FoamX i get these messages

Starting NameServer with inet:cftc2:1234 ...
nsd: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory

how may i solve this?
nunoinlux is offline   Reply With Quote

Old   January 6, 2007, 06:46
Default ok ok ... sorry about that. I
  #2
New Member
 
Nuno Silvestre
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 2
Rep Power: 0
nunoinlux is on a distinguished road
ok ok ... sorry about that. I just found the lib necessary and installed the package that had it it seems to work ok
thx anyway
nunoinlux is offline   Reply With Quote

Old   March 3, 2007, 11:55
Default hi > it is my first time to u
  #3
New Member
 
aksouh mohamed
Join Date: Mar 2009
Location: Algiers - Algeria
Posts: 3
Rep Power: 17
aksmed is on a distinguished road
hi
> it is my first time to use openfoam. After install
> openfoam on my computer (linux- Redhat 9.0), i run
> FoamX. but i have some problem, i hope that you help
> me for resolve them :
>
>
>
> 1. firstly i test my installation
> [root@pc-astro-am bin]# ./foamInstallationTest
> Executing ./foamInstallationTest:
>
>
> Checking basic setup...
>
---------------------------------------------------------------------------
>---- Shell: bash
> Host: pc-astro-am
> OS: Linux version 2.4.21-4.ELsmp
> User: root
> User_config: /root/.bashrc
> Foam_config: /root/.OpenFOAM-1.3/bashrc sourced
> correctly.
>
---------------------------------------------------------------------------
>----
>
>
> Checking main FOAM env variables...
>
---------------------------------------------------------------------------
>---- Environment_variable Set_to_file_or_directory
> Valid Crit
>
---------------------------------------------------------------------------
>---- $WM_PROJECT_INST_DIR /root/OpenFOAM
> yes yes
> $WM_PROJECT_USER_DIR /root/OpenFOAM/root-1.3
> yes no
> $FOAM_JOB_DIR /root/OpenFOAM/jobControl
> no yes
>
---------------------------------------------------------------------------
>----
>
>
> Checking the FOAM env variables set on the PATH...
>
---------------------------------------------------------------------------
>---- Environment_variable Set_to_file_or_directory
> Valid Path Crit
>
---------------------------------------------------------------------------
>---- $WM_PROJECT_DIR /root/OpenFOAM/OpenFOAM-1.3
> yes yes yes
>
> $FOAM_USER_APPBIN
> ...-1.3/applications/bin/linuxGcc4DPOpt yes yes no
> $FOAM_APPBIN
> ...-1.3/applications/bin/linuxGcc4DPOpt yes yes yes
> $WM_DIR /root/OpenFOAM/OpenFOAM-1.3/wmake
> yes yes yes
> $FOAMX_PATH
> ...ations/utilities/preProcessing/FoamX yes no yes
> $CEI_HOME /usr/local/ensight/CEI
> no no
>
> $JAVA_PATH
> /root/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
> $MICO_ARCH_PATH
> ...mico-2.3.11/platforms/linuxGcc4DPOpt yes yes yes
> $LAM_ARCH_PATH
> ...c/lam-7.1.1/platforms/linuxGcc4DPOpt yes yes yes
> $MPICH_ARCH_PATH --------- env variable not set
> --------- no
>
---------------------------------------------------------------------------
>----
>
>
> Checking the FOAM env variables set on the
> LD_LIBRARY_PATH...
>
---------------------------------------------------------------------------
>---- Environment_variable Set_to_file_or_directory
> Valid Path Crit
>
---------------------------------------------------------------------------
>---- $FOAM_LIBBIN
> ...FOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt yes yes yes
> $FOAM_USER_LIBBIN
> ...OpenFOAM/root-1.3/lib/linuxGcc4DPOpt yes yes no
> $LAM_ARCH_PATH
> ...c/lam-7.1.1/platforms/linuxGcc4DPOpt yes yes yes
>
---------------------------------------------------------------------------
>----
>
>
> Software versions
>
---------------------------------------------------------------------------
>---- Software Version Location
>
---------------------------------------------------------------------------
>---- gcc 4.1.0
> /root/OpenFOAM/linux/gcc-4.1.0/bin/gcc
> java 1.4.2_05
> /root/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
> gzip 1.3.3 /bin/gzip
> tar 1.3.3 /bin/tar
> icoFoam
> ...M/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/icoFoam
>
---------------------------------------------------------------------------
>----
>
>
> Checking file/directory permissions...
>
---------------------------------------------------------------------------
>---- File/directory Set
> Reqd Crit
>
---------------------------------------------------------------------------
>----
>
>
> Checking networking...
>
---------------------------------------------------------------------------
>---- Action Result
> Crit
>
---------------------------------------------------------------------------
>---- Pinging_pc-astro-am Successful
> yes
> Pinging_localHost Successful
> yes
> Test_rsh:
> Unsuccessful_connection_refused* yes
> Test_ssh: Successful
> yes
> (*) Only one of rsh or ssh is required by the Foam
> enviroment.
>
>
---------------------------------------------------------------------------
>----
>
> Base configuration ok.
>
> Critical systems ok.
>
> 2. secondly, I run FoamX
>
> [root@pc-astro-am bin]# FoamX
> Starting NameServer with inet:pc-astro-am:1234 ...
> nsd: error while loading shared libraries:
> libelf.so.0: cannot open shared object file: No such
> file or directory
>
>
> when i receive this message, i configure mico
>
> 3. i configure mico-2.3.11 :
> [root@pc-astro-am mico-2.3.11]# ./configure
> loading cache ./config.cache
> checking for extra include and lib directories...
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... no
> configure: error: installation or configuration
> problem: C compiler cannot create executables.
>
> but in this part, i have problem to configure
> mico-2.3.11.
>
>
>
> thank you veru much, and i will be very grateful.
> with best regards
>
>
aksmed is offline   Reply With Quote

Old   March 3, 2007, 16:16
Default Hello mohamad Did you test
  #4
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
Hello mohamad

Did you test the Fomers suggestion in:
http://www.cfd-online.com/OpenFOAM_D...tml?1165227248

Marhamat
marhamat is offline   Reply With Quote

Old   March 5, 2007, 04:43
Default dear Marhamat i have resolv
  #5
New Member
 
aksouh mohamed
Join Date: Mar 2009
Location: Algiers - Algeria
Posts: 3
Rep Power: 17
aksmed is on a distinguished road
dear Marhamat

i have resolved my problem, thank you very much.

with best regadrs
aksmed is offline   Reply With Quote

Old   August 9, 2007, 12:05
Default Could somebody please explain
  #6
New Member
 
Marta Pajon
Join Date: Mar 2009
Posts: 21
Rep Power: 17
martapajon is on a distinguished road
Could somebody please explain step by step how to solver the problem of the missing lib that Nunos comented in this board?(c099935@ssxp6664f [116] 02:38 PM [cavity] FoamX
Starting NameServer with inet:ssxp6664f.sims.cranfield.ac.uk:1234 ...
nsd: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory
)
for the understanding of somebody how has never used Linux?
With package should I install? from where? how? Can I do it if I am not administrator (root)?
I am using Linux CentOS.

Thank you very much for your help and best regards!!!!

Marta
martapajon is offline   Reply With Quote

Old   September 11, 2007, 21:13
Default Hello Marta You just need t
  #7
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hello Marta

You just need to install the package that provides libelf library to your linux distribution.

In the case of CentOS, the package should be a RPM one, probably available from the repositories.

This should work (if libelf is the correct name):
su -c 'yum install libelf'

Good luck!

Regards,
José Santos
santos is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OpenFOAM 13 FoamX libelfso0 and Fedora Core 4 crosby OpenFOAM Pre-Processing 23 June 24, 2008 03:01
Ubuntu and finding libelfso0 shaun OpenFOAM Installation 3 April 30, 2007 19:40
Canbt fix libelfso0 proble clo OpenFOAM Installation 3 January 10, 2007 05:17
FoamX libelfso0 mockealm OpenFOAM Installation 6 June 29, 2006 16:37
Sshd amp libelfso0 on gentoo box alfreed OpenFOAM Installation 2 June 15, 2006 11:05


All times are GMT -4. The time now is 03:48.