|
[Sponsors] |
![]() |
![]() |
#1 |
Member
robert maduta
Join Date: Mar 2009
Posts: 33
Rep Power: 18 ![]() |
hi all,
i am trying to compile a modified solver with ubuntu. the error message i got looks like this: robert@robert-laptop:~/OpenFOAM/OpenFOAM-1.4.1/applications/solvers/incompressible/simpleFoam$ wmake g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/robert/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/robert/OpenFOAM/OpenFOAM-1.4.1/src/turbulenceModels -I/home/robert/OpenFOAM/OpenFOAM-1.4.1/src/transportModels -IlnInclude -I. -I/home/robert/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPOpt/simpleFoam.o -L/home/robert/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt \ -lincompressibleTurbulenceModels -lincompressibleTransportModels -lfiniteVolume -lmeshTools -lOpenFOAM -ldl penFOAM/linux/gcc-4.2.1/lib/libiberty.a -o /home/robert/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam g++: penFOAM/linux/gcc-4.2.1/lib/libiberty.a: No such file or directory make: *** [/home/robert/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/simpleFoam] Error 1 robert@robert-laptop:~/OpenFOAM/OpenFOAM-1.4.1/applications/solvers/incompressible/simpleFoam$ do i have to install any extra package to get rid of the problem? i hope someone canhelp me |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 21 ![]() |
Hi Robert,
I never had this problem, but I know it was discussed many times on the forum. Just search for it and you'll find your solution (search: libibery, first result: Cannot find liberty). Dragos |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
robert maduta
Join Date: Mar 2009
Posts: 33
Rep Power: 18 ![]() |
hm, well the problem is that i have already done everything what is mentioned there :-)
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 21 ![]() |
Ok, so do you have the library in the mentioned path OpenFOAM/linux/gcc-4.2.1/lib/libiberty.a ?
If you don't, then you need to install it. One way is to compile yourself the latest gcc. Another way (I found this on google - search ubuntu libiberty) is to install binutils-dev. It should be included with it. Dragos |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Compiling problems | chris1980 | OpenFOAM Installation | 8 | June 3, 2015 15:41 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |
Problems compiling under 14 | grtabor | OpenFOAM Running, Solving & CFD | 9 | July 17, 2007 22:34 |
Problems on Compiling UDF in FLUENT | Strawberi-KeatKeat | FLUENT | 1 | October 4, 2006 01:50 |
Problems with compiling CFD code! | ravi | Main CFD Forum | 1 | July 12, 2004 11:28 |