|
[Sponsors] |
x86_64-suse-linux/bin/ld: cannot find -liberty |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 16, 2010, 02:55 |
x86_64-suse-linux/bin/ld: cannot find -liberty
|
#1 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17 |
Hallo everybody,
I want to change from OpenFOAM 1.6 to 1.7. So I downloaded OpenFOAM white git as explained on openfoam.com. The next step is to compile so I write ./Allwmake and this is the output message: make[2]: Entering directory `/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linux64GccDPOpt/mixtureAdiabaticFlameT.o -L/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt \ -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/preibisch/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -liberty collect2: ld returned 1 exit status make[2]: *** [/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT] Fehler 1 make[2]: Leaving directory `/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT' make[1]: *** [mixtureAdiabaticFlameT] Fehler 2 make[1]: Das Target »application« wurde wegen Fehlern nicht aktualisiert. make[1]: Leaving directory `/home/preibisch/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical' make: *** [thermophysical] Fehler 2 make: Das Target »application« wurde wegen Fehlern nicht aktualisiert I don't know what is wrong ! I checked gcc and flex and they are up to date. Can somebody help me? Preibie |
|
December 16, 2010, 03:20 |
|
#2 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17 |
I have run the foamInstallationTest and this is the result:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: Fluent64-2 OS: Linux version 2.6.31.12-0.2-desktop ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/preibisch/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/preibisch/OpenFOAM/preibisch-1.7.x yes no $WM_THIRD_PARTY_DIR .../preibisch/OpenFOAM/ThirdParty-1.7.x yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/preibisch/OpenFOAM/OpenFOAM-1.7.x yes yes yes $FOAM_APPBIN ...7.x/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...nFOAM/site/1.7.x/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...7.x/applications/bin/linux64GccDPOpt yes yes no $WM_DIR ...ibisch/OpenFOAM/OpenFOAM-1.7.x/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...M/OpenFOAM-1.7.x/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...nFOAM/site/1.7.x/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN .../preibisch-1.7.x/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...x/platforms/linux64Gcc/openmpi-1.4.1 yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.4.1 /usr/bin/gcc gzip 1.3.12 /usr/bin/gzip tar 1.21 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/preibisch/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. *** The foam installation contains 1 critical error(s) *** Review the output for warning messages and consult *** the installation guide for trouble shooting. done. |
|
December 16, 2010, 03:46 |
|
#3 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
What version of SUSE? You can check it with
cat /etc/SuSE-release
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 16, 2010, 04:23 |
|
#4 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17 |
cat /etc/SuSE-release
openSUSE 11.2 (x86_64) VERSION = 11.2 |
|
December 16, 2010, 04:49 |
|
#5 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
Perhpas it's a bit late for a reply but in my case (same system OpenSUSE 11.2 ) installing a package
binutils-dev helped according to the similar post here http://ubuntuforums.org/showthread.php?t=390903 And if you pardon the pun it's a bit awkward that under free, open source system a free, open source piece of software complains about the lack of liberty. |
|
December 16, 2010, 07:30 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
It's also like knowledge: just because one has access to a library, it does not automatically turn the person into a know-it-all!
__________________
|
||
December 16, 2010, 10:35 |
|
#7 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17 |
thanks for the help. Now OpenFOAM works!
Next Step Paraview |
|
December 16, 2010, 10:47 |
|
#8 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Yes, but the fact that library was not available by default tells me you did not install the "C++ development" pattern, which should pull it in.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cannot find -liberty | Aneirin | OpenFOAM Bugs | 1 | December 10, 2010 20:37 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
Cannot find liberty %3cIMG SRC%3d%22httpopenfoamcfdonlinecomforumcliparthappygif%22 ALT%3d%22%22 BORDER%3d0%3e | panara | OpenFOAM Installation | 5 | August 10, 2007 15:39 |