|
[Sponsors] |
May 10, 2010, 16:30 |
What is really required for installation?
|
#1 |
New Member
Jim L.
Join Date: May 2010
Posts: 2
Rep Power: 0 |
I just installed the 32 bit OpenFOAM package on my workstation, as well as the third party package.
The environment variables to be configured in .bashrc broke my KDE4 installation so for the time I have removed that from .bashrc. Also, I see that the third party stuff includes a couple of different versions of the gcc environment. This workstation contains a full-up development environment, and I really don't want to redirect any of that stuff to the OpenFOAM environment. So my question(s) are as follows: 1. Why did the environment setup break KDE4 (I got the message that kstartupconfig4 was missing or had failed. Error code 1) and 2. What parts of 3rd party do I need and what can I remove, given that I don't want the gcc stuff? Sorting this out manually could take a LOT of time, which I don't really have, and I'm sure that many people here already know the answer. Thanks in advance. Jim |
|
May 11, 2010, 03:54 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
If we assume, for example, that your system has gcc-4.4.1 (like my openSUSE 11.2 system), but an older gcc is available - eg, gcc-4.3.3 from the ThirdParty-1.6.x. When your kde4 (or some other system application) runs, it finds the libstdc++.so.6 from the LD_LIBRARY_PATH, which does not have the proper version - since it is from an older gcc! You can check this with any C++ application. I'll take kwin, since you obviously have kde installed. With the older gcc (from OpenFOAM) available via LD_LIBRARY_PATH: Code:
$ ldd -v /usr/bin/kwin | grep GLIBCXX Code:
$ ldd -v /usr/bin/kwin | grep found ... libstdc++.so.6 (GLIBCXX_3.4.11) => not found Code:
$ unset LD_LIBRARY_PATH There are a few different ways to handle this.
|
||
May 11, 2010, 15:19 |
|
#3 |
New Member
Jim L.
Join Date: May 2010
Posts: 2
Rep Power: 0 |
OK. That makes sense. Thanks.
Seems to me that another alternative would be to download the source and compile it locally with the system compiler. By the way, my system is Mandriva 2010 with gcc 4.4.1. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 08:11 |
[GAMBIT] Modelling of Helical-rod inserted in the inner tube heat exchanger is required | fahad02999 | ANSYS Meshing & Geometry | 9 | August 11, 2010 09:14 |
[OpenFOAM] Problem with paraFoam on a linux-64 bit | bunni | ParaView | 4 | April 14, 2010 21:55 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |