CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   How to install two versions of OpenFoam (https://www.cfd-online.com/Forums/openfoam-installation/105017-how-install-two-versions-openfoam.html)

Argen August 9, 2012 11:35

1 Attachment(s)
Quote:

Originally Posted by wyldckat (Post 376165)
Hi Argen,

Nothing to worry about. As I described in the script:

You can now move on to running Allwmake in "OpenFOAM-1.5". Those other libraries will be built as intended.

Best regards,
Bruno

Thanks a lot, Bruno. It still doesn't work. The log is attached. Can you figure out what's wrong?

wyldckat August 9, 2012 11:38

This is very strange... OK, try these commands:
Code:

cd $WM_THIRD_PARTY_DIR
cd metis-5.0pre2
wclean libso GKlib
wmake libso GKlib


Argen August 9, 2012 12:08

1 Attachment(s)
Quote:

Originally Posted by wyldckat (Post 376280)
This is very strange... OK, try these commands:
Code:

cd $WM_THIRD_PARTY_DIR
cd metis-5.0pre2
wclean libso GKlib
wmake libso GKlib


It was failed to make GKlib and the problem seems due to "cannot find -lm".

wyldckat August 9, 2012 12:14

Quote:

Originally Posted by Argen (Post 376291)
It was failed to make GKlib and the problem seems due to "cannot find -lm".

I went to see what Linux distribution you have... Since it's Ubuntu, make sure you have everything you need installed:
Code:

sudo apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libncurses-dev libxt-dev

Argen August 9, 2012 13:34

Quote:

Originally Posted by wyldckat (Post 376292)
I went to see what Linux distribution you have... Since it's Ubuntu, make sure you have everything you need installed:
Code:

sudo apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libncurses-dev libxt-dev

Thanks, Bruno. After installing those, I got the same error again.

wyldckat August 9, 2012 15:25

I've been reviewing the previous posts on this threads... are you certain this is active in your shell:
Code:

export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu


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