|
[Sponsors] |
March 16, 2008, 06:46 |
hi all,
i am trying to compi
|
#1 |
Member
robert maduta
Join Date: Mar 2009
Posts: 33
Rep Power: 17 |
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 |
|
March 17, 2008, 03:04 |
Hi Robert,
I never had this p
|
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
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 |
|
March 17, 2008, 04:02 |
hm, well the problem is that i
|
#3 |
Member
robert maduta
Join Date: Mar 2009
Posts: 33
Rep Power: 17 |
hm, well the problem is that i have already done everything what is mentioned there :-)
|
|
March 17, 2008, 05:04 |
Ok, so do you have the library
|
#4 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Compiling problems | chris1980 | OpenFOAM Installation | 8 | June 3, 2015 16:41 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |
Problems compiling under 14 | grtabor | OpenFOAM Running, Solving & CFD | 9 | July 17, 2007 23:34 |
Problems on Compiling UDF in FLUENT | Strawberi-KeatKeat | FLUENT | 1 | October 4, 2006 02:50 |
Problems with compiling CFD code! | ravi | Main CFD Forum | 1 | July 12, 2004 12:28 |