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

Compiling OpenFoam from git : problem with ld

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 7, 2012, 05:17
Default Compiling OpenFoam from git : problem with ld
  #1
New Member
 
Matthieu Borgraeve
Join Date: Aug 2012
Posts: 17
Rep Power: 13
mborgraeve is on a distinguished road
Hello !
This is my first post on this forum, so do not hesitate to correct me if i do something wrong ;-)
Here is my problem :
When compiling OpenFoam (Allwmake) on Kubuntu 12.04 64bit, on 6 cores, i get the following error (this is only the first one, as there is a lot of them after which seem linked with this one) :
Code:
Note: ignore spurious warnings about missing mpicxx.h headers

wmake libso mpi
/usr/bin/ld: error: --add-needed is not supported but is required for libdl.so.2 in /home/matthieu/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib/libmpi.so
collect2: ld a retourné 1 code d'état d'exécution
The problem is that after this, a lot of similar errors occurs, and
Code:
/usr/bin/ld: error: cannot find -lfiniteVolume
and other "cannot find -lsomething" error, and the compiler starts to missing a lot of things.
I am following the tutorial from http://www.openfoam.org/download/git.php, and installed it in my $home/OpenFOAM/OpenFOAM-2.1.x.
I compiled ThirdParty-2.1.x without problems ($HOME/OpenFOAM/ThirdParty-2.1.x)

Is there somebody who had the same kind of errors, or who have any idea of how resolving these ?

Thank you
Best regards,
Matthieu Borgraeve
mborgraeve is offline   Reply With Quote

 

Tags
--add-needed, /usr/bin/ld, openfoam 2.1.x


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
Compiling OpenFOAM on hpc-fe.gbar.dtu.dk kaergaard OpenFOAM Installation 1 June 16, 2011 01:33
OpenFOAM 1.7.x git problem olauer OpenFOAM Installation 18 July 29, 2010 06:36
Problem with mpirun with OpenFOAM jiejie OpenFOAM 3 July 7, 2010 19:30
Problem compiling OpenFOAM 1.6.x deji OpenFOAM Installation 1 October 7, 2009 23:00
LiftDrag compiling problem vdb OpenFOAM Pre-Processing 2 June 16, 2008 09:45


All times are GMT -4. The time now is 22:08.