libmpc.so.3 not found
Hello all,
I compiled gcc4.9.2 and all its dependencies (gmp, mpc, ...) to build OpenFOAM. Now it fails when building wmake: Code:
gcc-4.9.2/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory What is the correct way to fix this? Edit: Before that I already had it but I needed to recompile and ran both "wcleanAll" and "wclean all" where I guess some of the commands deleted too much. Which is the "correct" one before recompilation? |
Hi Bastil,
For future reference, a related attempt of yours was reported here: http://www.cfd-online.com/Forums/ope...s-not-run.html As for the problem you're having, there are several possible problems that could have gone wrong. All details are extremely important, and since you didn't provide enough of them ;), I'll have to guess that you did not update properly the respective variables at "OpenFOAM-2.3.x/etc/config/settings.sh", at least for the version of MPC and then refresh the shell environment. In addition, since you didn't specify which Linux distribution you're using, I suggest you have a look at these instructions: http://openfoamwiki.net/index.php/In...EL#CentOS_5.10 Best regards, Bruno |
I am running RHEL5. I had it working before (see my other post) and need to recompile because of some unhappy cleaning. therefore, settings.sh should be fine. I have:
Code:
Code:
|
Ok I am getting closer. I created a shell-script to open up a new terminal having the environment set there. I typically do this to run OF in a separate terminal and to make sure single and double precision are not mixed up. For some reason, the way I did this did not correctly set all the environment. Sourcing /etc/bashrc in the Terminal manually leads to a running gcc....
I have no idea why the environment is not set-up correctly. It is done this way: Code:
bash -c "export WM_PRECISION_OPTION=DP; source /path/to/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc; konsole --noclose -T OpenFOAM-2.3.x-DP --notabbar --nomenubar --schema BlackOnLightYellow.schema |
Quick answer: Not enough information to be able to fully ascertain the problem, but:
|
All times are GMT -4. The time now is 06:30. |