On Thu, May 17, 2001 at 04:16:59PM -0700, Martin Bertolino wrote: > Has anybody been able to run this JDK (1.3.0_02) on Debian Potato? I'm getting > an error while running 'java' that it can't find 'libstdc++-6....' shared > library. I know enough to know that I'm missing some shared library, and I > looked at the different packes at debian.org but did not find any that looks > like this shared library. > > Sun documentation mentions something about a similar problem on their web site > but regarding 'RedHat Linux 7 Server' (sorry): > > -- quote -- > > If you use RedHat Linux 7 Server, you must manually install > compat-libstdc++-6.21-2.9.0.0.i386.rpm to prevent "error while loading shared > libraries" when using the Java HotSpot VMs. This file is located in the > /RedHat/RPMS directory on the RedHat Linux 7 CD-ROM. You may also obtain a > copy of this file from http://rpmfind.net. To install the file, use this > command: > rpm --install compat-libstdc++-6.21-2.9.0.0.i386.rpm > > It is not necessary to manually install compat-libstdc++-6.21-2.9.0.0.i386.rpm > if you are using RedHat Linux 7 Workstation > > -- end quote -- > > I'm not very well informed about the different 'C/C++' shared libraries for > GNU/Linux. > > I'm running Debian 2.2r0 + an apt-get to update to the latest stable packages. > > Thanks for any information, and sorry if this has already been asked or it is > a dumb question, but I have just subscribed, and searched through the archives > but did not find anything related to this. > Most likely the deb you want is: libstdc++2.9-glibc2.1 I've found something else that WFM... cd /usr/lib ln -sf libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
This is WRONG, but WFM, note if you did this make sure you change the first libstdc++ to whichever you have under stable. > Martin Bertolino > > PS: I just saw that there is a new JDK at java.sun.som version 1.3.1 > Thanks downloading now.. -- Gordon Sadler