Some Issues on OpenFOAM

When wmake some applications of OpenFOAM, there is a problem:

/usr/bin/ld: skipping incompatible /home/abc/OpenFOAM/OpenFOAM-1.3
/lib/linuxGcc4DPOpt/ when searching for -lfiniteVolume
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make: *** [/home/abc/OpenFOAM/OpenFOAM-1.3
/applications/bin/linuxGcc4DPOpt/icoFoam] Error 1

I find the solution on the OpenFOAM Discussion: if the architechture is x86_64, the environment variable $WM_64 should be turned on, which can be set as export WM_64=on in the OpenFOAM bashrc file.

Afterwards, there still is another problem:

/usr/bin/ld: cannot find -liberty
collect2: ld returned 1 exit status
make: *** [/home/abc/OpenFOAM/OpenFOAM-1.3/
applications/bin/linuxAMD64Gcc4DPOpt/icoFoam] Error 1

Also, there is a solution on the OpenFOAM Discussion: GNU binutils-devel package should be installed, because liberty is one of the function of binutils package.

(Tested on Fedora Core 6)

One Reply to “Some Issues on OpenFOAM”

  1. I agree it’s important to address one of the very acute college and university topics of today – that the issue of essay and research
    paper writing. A couple of weeks ago I had to
    compose an article on American Civil War, which is clearly
    not my field of expertise. Two days prior to the deadline I
    was trying to find samples of comparable papers when a groupmate shared this link with me
    I can recommend this platform speaking from my experience.
    In case you wonder what grade I received, it was a strong A+!

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see


This site uses Akismet to reduce spam. Learn how your comment data is processed.