CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   How to install gmp amp mpfr for the gcc431 provied by OpenFOAM15 (

edison December 3, 2008 02:00

I'm a new student for both Ope
I'm a new student for both OpenFOAM and Linux.
I'm using redhat Linux version 2.6.9-42.ELsmp.
When I try to compile paraView it siad /opt/OF/ThirdParty/gcc-4.3.1/platforms/linux/bin/../libexec/gcc/i686-pc-linux-gn u/4.3.1/cc1plus: error while loading shared libraries: cannot open shared object file: No such file or directory
make: *** [Make/linuxGccDPOpt/icoFoam.o] Error 1

Plesse give me some more specific instruction on how to install mpfr on the Gcc.4.3.1 provied by OpenFOAM.

ep4 December 3, 2008 02:39

These installations can be don
These installations can be done with the following commands in the directory coming form the extraction:
make check
make install
Note that it could be necessary to use ./configure --with-gmp-lib=/usr/local/lib if it doesn't work with ./configure for gmp.
In order to install these libraries, you need to use the system compiler and not the one installed by OpenFoam. Therefore, for the compilation, you need to suppress the additional line of the $.bashrc$ file.
After that, you could have to redifine the path of the ld library: LD_LIBRARY_PATH=/usr/local/lib:/x/mpfr-2.3.2/lib:$LD_LIBRARY_PATH in the terminal when you are installing paraview.

After doing these steps, i hat not the problem with anymore

Hope it helps


All times are GMT -4. The time now is 03:43.