Nathan Beyer wrote:
There's a comment about this in the classlib README, that I just
found. It seems this is a dependency from the ICU 3.4 libraries.
There's been off an on talk about upgrading to the latest ICU release.
Maybe it has upgraded its dependencies.
I think this dependency doesn't come inherently from the 3.4 version of
ICU. It comes from the host which was used to compile ICU binaries.
Apparently it had libstdc++.so.5 as default stdc++ library. If ICU was
compiled on a more modern distribution, it would depend on version 6.
To get rid of this dependency ICU could be linked with libstdc++ statically.
[1]
https://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/README.txt?view=markup
Linux users may need to install an appropriate libc compatibility patch
to their
operating system if they see the following error message when attempting
to run
a Java application with the built class library components on a
compatible VM :
<error: unable to load ICUInterface34 (libstdc++.so.5: cannot open
shared object
file: No such file or directory)>
Where to obtain the required patch and the precise means of applying it
will
obviously differ according to Linux distribution. On Debian the advanced
package
tool apt-get could be used as follows :
[EMAIL PROTECTED]:~$> apt-get install libstdc++5
On a Red Hat Enterprise Linux machine the rpm tool may be used to
install the
equivalent package thus :
[EMAIL PROTECTED]:~$> rpm -Uvh compat-libstdc++-33-3.2.3-47.3.i386.rpm
Consult the system administration documentation of your particular Linux
distribution for more information.
On 4/22/07, Wayne Beaton <[EMAIL PROTECTED]> wrote:
I recently tried running Harmony on a fresh installation of Debian
Linux. It
failed, complaining that libstdc++.so.5 is not available. After a quick
search, I confirmed that libstdc++.so.5 is indeed not anywhere on the
machine, but libstdc++.so.6 is there.
As I understand it (and I'll admit I don't understand it well),
libstdc++.so.5 is considered legacy.
Should this dependency be updated, or is there some way to make the
dependency version agnostic?
Thanks,
Wayne
--
Wayne Beaton
The Eclipse Foundation
[EMAIL PROTECTED]
Skype, YIM: waynebeaton
http://www.eclipse.org
http://wbeaton.blogspot.com/
http://www.planeteclipse.org/planet/
--
Gregory