[Fwd: JDK errors]

Shawn Rutledge plug-discuss@lists.plug.phoenix.az.us
Mon, 6 May 2002 16:07:45 -0700


On Mon, May 06, 2002 at 03:05:59PM -0400, Carl Parrish wrote:
> 
> ============================================================
> While trying to install the sun 1.3.1 jdk I'm getting the following
> error on RedHat 7.2. 
> /usr/java/jdk1.3.1_03/bin/i386/native_threads/javac: error while loading
> shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object
> file: No such file or directory
> 
> doing a locate on libstdc++-libc6 I get 
> 
> /home/cparrish/Downloads/libstdc++-2.95.3-19cl.i386.rpm
> /home/cparrish/OpenOffice.org1.0/program/libstdc++.so.3.0.4
> /home/cparrish/OpenOffice.org1.0/program/libstdc++.so.3
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/libstdc++.so
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/libstdc++.a
> /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
> /usr/lib/libstdc++-libc6.2-2.so.3
> /usr/lib/libstdc++-libc6.2-2.so.2
> /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a
> /usr/lib/libstdc++-libc6.2-2.a.3
> 
> So I have a more recent version. my question is does anyone know of a
> way to either force the jdk to use the newer version. Or what exactly
> would I break if I try to force an install of the older library?

Maybe make a symlink; as root:

cd /usr/lib
ln -s libstdc++-libc6.2-2.so.2 libstdc++-libc6.1-1.so.2

-- 
  _______                   Shawn T. Rutledge / KB7PWD  ecloud@bigfoot.com
 (_  | |_)                       http://ecloud.org  kb7pwd@kb7pwd.ampr.org
 __) | | \________________________________________________________________