[Date Index] [Thread Index] [Author Index]
Re: Mathematica 6.0 not running in Fedora 7?
Szabolcs <szhorvat at gmail.com> wrote: > Pavel Pokorny wrote: > > Dear Mathematica friends > > > > after installing Mathematica 6.0 in Fedora 7 (x86_64bit) > > I get the following error message when trying to run it: > > > > [root@localhost mma]# math > > /usr/local/Wolfram/Mathematica/6.0/SystemFiles/Kernel/Binaries/Linux-x86-64/MathKernel: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory > > > > but I have > > /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.8 > > /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8 > > > > Is it safe to make a symlink form libstdc++.so.6 to libstdc++.so.5? > > > > Any help appreciated. > > > A quick google search turned up a FAQ  that says that they are > incompatible so you need to install libstdc++ 5 separately. >  http://forums.introversion.co.uk/uplink/viewtopic.php?p=410884 Yes, this is right. I tried to copy libstdc++.so.6 to libstdc++.so.5 but then Mathematica 6.0 complains: MathKernel: libstdc++.so.5 version 'GLIBCPP_3.2.2' not found. Unfortunately, the page http://gcc.gnu.org/libstdc++ sais: libstdc++-v3 is developed and released as part of GCC, separate snapshots are no longer made available. Who wants to install the whole old gcc? So I had to "steal" libstdc++.so.5 from RedHat Enterprise Linux 5 (for the same architecture, x86_64 in my case) where you can find both libstdc++.so.5 and libstdc++.so.6 and then Mathematica 6.0 runs O.K. A message to Wolfram developers: Could you, please, make Mathematica to run with both libstdc++.so.5 and libstdc++.so.6? A message to Fedora developers: Could you, please, add both libstdc++.so.5 and libstdc++.so.6 to fedora (like RHEL 5 has). One more question: can someone please explain to me why Mathematica 6.0 conflicts with Security Enhenced Linux? -- Pavel Pokorny Math Dept, Prague Institute of Chemical Technology http://www.vscht.cz/mat/Pavel.Pokorny