Hi All,
I just installed Op
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? |
ok ok ... sorry about that. I
ok ok ... sorry about that. I just found the lib necessary and installed the package that had it http://www.cfd-online.com/OpenFOAM_D...part/happy.gif it seems to work ok
thx anyway |
hi
> it is my first time to u
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 > > |
Hello mohamad
Did you test
Hello mohamad
Did you test the Fomers suggestion in: http://www.cfd-online.com/OpenFOAM_D...tml?1165227248 Marhamat |
dear Marhamat
i have resolv
dear Marhamat
i have resolved my problem, thank you very much. with best regadrs |
Could somebody please explain
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 |
Hello Marta
You just need t
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 |
All times are GMT -4. The time now is 02:13. |