On Wed, 14 Apr 1999, John D. Overmars wrote:
> I have installed the Java1.2 on Redhat 5.2.
> Every time I try to run a Swing demo I get the message:
>
> uncaught exception: java.lang.UnsatisfiedLinkError:
> /usr/local/jdk1.2/jre/lib/i386/libfontmanager.so:
> libstdc++-libc6.0-1.so.2: cannot open shared object file: No such
> file or
> directory java.lang.UnsatisfiedLinkError:
> /usr/local/jdk1.2/jre/lib/i386/libfontmanager.so:
> libstdc++-libc6.0-1.so.2: cannot open shared object file:
>
> How do I find this odddly named file?
> JDO
>
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
(Linux with the JDK 1.2)
The JDK 1.2 port uses a strangely named stdc++ library. If you
are running on a non Debian Linux (like RedHat) you will need
to run these two commands as root after making sure that
/usr/local/lib is entered into your /etc/ld.so.conf file.
% g++ -shared -o /usr/local/lib/libstdc++-libc6.0-1.so.2 -lm
% ldconfig
Mo DeJong
dejong at cs.umn.edu
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]