hi all, i am trying to compi
i am trying to compile a modified solver with ubuntu. the error message i got looks like this:
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
do i have to install any extra package to get rid of the problem? i hope someone canhelp me
Hi Robert, I never had this p
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).
hm, well the problem is that i
hm, well the problem is that i have already done everything what is mentioned there :-)
Ok, so do you have the library
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.
|All times are GMT -4. The time now is 18:53.|