|
[Sponsors] |
Error for compiling OF141 on Redhat EL 46 latest |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Leosding
Join Date: Mar 2009
Posts: 51
Rep Power: 17 ![]() |
hi,
when I compile the OF1.4.1 on redhat enterpise linux 4.6 (up to date) the eroor is : make[3]: Entering directory `/home/dsd/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation/Opti onal/setSet' g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -DREADLINE=1 -I/home/dsd/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/dsd/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC Make/linux64GccDPOpt/writePointSet.o Make/linux64GccDPOpt/floatScalar.o Make/linux64GccDPOpt/writeFuns.o Make/linux64GccDPOpt/writePatch.o Make/linux64GccDPOpt/fieldToCell.o Make/linux64GccDPOpt/setSet.o -L/home/dsd/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt \ -lmeshTools -lreadline -lOpenFOAM -liberty -ldl -lm -o /home/dsd/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/setSet /usr/lib/../lib64/libreadline.so: undefined reference to `tgetnum' /usr/lib/../lib64/libreadline.so: undefined reference to `tgoto' /usr/lib/../lib64/libreadline.so: undefined reference to `tgetflag' /usr/lib/../lib64/libreadline.so: undefined reference to `BC' /usr/lib/../lib64/libreadline.so: undefined reference to `tputs' /usr/lib/../lib64/libreadline.so: undefined reference to `PC' /usr/lib/../lib64/libreadline.so: undefined reference to `tgetent' /usr/lib/../lib64/libreadline.so: undefined reference to `UP' /usr/lib/../lib64/libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status make[3]: *** [/home/dsd/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/setSet] 错误 1 make[3]: Leaving directory `/home/dsd/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation/Opti onal/setSet' make[2]: *** [Optional] 错误 2 make[2]: Leaving directory `/home/dsd/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation' make[1]: *** [manipulation] 错误 2 make[1]: Leaving directory `/home/dsd/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh' make: *** [mesh] 错误 2 + '[' 0 = 1 -a '' = doc ']' [dsd@TCWS01 OpenFOAM-1.4.1]$ what's wrong? thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 ![]() |
Hi,
This might have something to do with readline libraries. Check the "Readline libraries on some x86_64" section of "Howto compile OpenFOAM" on openfoamwiki. In my case (64 bit SuSE 10.2), I do not have curses.so, but I do have ncurses.so. So, after adding -lcurses, I created static links to ncurses. Hope this helps! Pei |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Leosding
Join Date: Mar 2009
Posts: 51
Rep Power: 17 ![]() |
Hi,
according to the tip on openfoamwiki, compiling is OK. Now solver is running,but when run FoamX, the error is: [leo@TCWS01 icoFoam]$ FoamX Starting NameServer with inet:TCWS01:1234 ... nsd: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory [1]+ Stopped FoamX why? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Have a look in your /lib(64)-directory. There should be a libssl.so.0.9.x . Making a symbolic link to that should fool nsd into thinking it has got the right version
Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Leosding
Join Date: Mar 2009
Posts: 51
Rep Power: 17 ![]() |
Bernhard,
With the hint, I make symbloc link libssl.so.0.9.8, libcrypto.so.0.9.8 and libelf.so.0 in /usr/lib64. Now FoamX run smoothly. thanks |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Jeremiah Hall
Join Date: Mar 2009
Location: Denver, Co, USA
Posts: 10
Rep Power: 17 ![]() |
Hello,
I get a similar error when trying to run FoamX: Starting NameServer with inet:Aragorn:1234 ... nsd: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory I have found in /usr/lib64/ the file libelf.so.0. Where should I put the symbolic link to this file? In the FoamX directory? Thanks for the help. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Errors when Compiling UDF: error C2040/error C2099 | Julian K. | FLUENT | 1 | December 21, 2008 01:23 |
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise | mbeaudoin | OpenFOAM Installation | 20 | June 17, 2008 07:43 |
compiling error | baskar | FLUENT | 2 | May 4, 2005 12:49 |
Error while compiling UDF | Sridhar | FLUENT | 0 | August 7, 2001 12:02 |
Error while compiling a UDF | Sridhar | FLUENT | 0 | July 17, 2001 14:22 |