Newer Linux distros, (D2OL)™ and the lack of gcc.
This article to address a problem that has crept up with the (D2OL)™ client under Linux. A while ago (D2OL)™ users started to see the client crunching through tasks awfully fast and the results from the computers in question were not being counted. It was also found that errors were being reported when trying to install the client.
After some research the problem was found a solution was devised. The issue at hand is that Linux distros using the 2.6 kernel does not include an older GCC library that D2OL requires to crunch tasks.
First thing is to verify the before going on. From a terminal screen run the following command:
ldd <installed path>/D2OL/res/data/bin/ DockWin.exe
What you are looking for is:
libstdc++.so.4 => (file not found)
There are two known solutions. First is to download and install the older gcc library, the other one is to make D2OL think the included libstdc++.so.5 is libstdc++.so.4.
The easiest is to a soft link of libstdc++.so.4 to libstdc++.so.5. D2OL will use the newer library; you just have to make it think it is the older one.
Or you can just install the older library. The command for each distro is different and I will list the ones I know for different distros. The following commands need to be ran from a terminal window.
Fedora Core 2:
yum install compat-libstdc++
Mandrake 10:
rpm -ivh libstdc++2.10-2.96-0.83mdk.i586.rpm
rpm -ivh libstdc++2.10-devel-2.96-0.83mdk.i586.rpm
Gentoo:
emerge lib-compat
That should do it. One or the other solution will fix the problem.
Posted: October 14, 2004
