CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

binutils-devel problem with Openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2011, 08:04
Default binutils-devel problem with Openfoam
  #1
Member
 
Join Date: Nov 2010
Posts: 86
Rep Power: 15
abminternet is on a distinguished road
Hi foamers,

As I was trying to recompile a solver, I got the problem saying:
/usr/bin/ld: cannot find "-liberty"

so I read in some posts that I needed to install binutils-devel (I had already installed openfoam, was just trying to recompile). Well, big mistake, I did yum install binutils-devel.x86_64 (under centos), and now nothing seems to compile til the end. So everything goes right, but stops without any further message, it looks something like this:

Making dependency list for source file albertoMoveDyMEngineMesh.C
SOURCE=albertoMoveDyMEngineMesh.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/engine/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/albertoMoveDyMEngineMesh.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/engine/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/albertoMoveDyMEngineMesh.o -L/home/albertom/software/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt \
-lfiniteVolume -ldynamicFvMesh -lmeshTools -ldynamicMesh -lengine -lmeshTools -lcellDecompositionMotionSolver -lOpenFOAM -liberty -ldl -lm -o /home/albertom/OpenFOAM/albertom-1.6-ext/applications/bin/linux64GccDPOpt/albertoMoveDyMEngineMesh


well it stops there. So if I try to use the program, it will execute, but will also quit without any message. Any ideas as what went wrong and how I can correct this? I would appreciate it

best regards,
abm
abminternet is offline   Reply With Quote

Old   June 18, 2011, 07:39
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Abm,

You could have posted this thread on the Installation section of the forum It would have been easier for people to spot it.

I believe that this has already occurred to some OpenFOAM users in CentOS and RHEL. Basically it's a problem of having an up-to-date gcc 4.4, but with an outdated binutils package. Basically you will need the respective binutils package version... possibly 2.20 or above... but which I have no clue where it might be in CentOS yum package system

Personally, when the system's "gcc + binutils" fail me, I resort to my blog post: Automated scripts for building gcc 4.4.x and 4.5.x for using with OpenFOAM 1.7 series
But I haven't tested it with 1.6-ext.

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with sampling Utility in openFOAM 1.6 carmir OpenFOAM Post-Processing 10 February 26, 2014 02:00
Problem with mpirun with OpenFOAM jiejie OpenFOAM 3 July 7, 2010 19:30
OpenFOAM paraView problem Ronnfors OpenFOAM 2 September 22, 2009 05:32
OpenFOAM 1.6 CreatePatch Problem TarifaPirata OpenFOAM Bugs 1 September 10, 2009 04:35
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


All times are GMT -4. The time now is 12:56.