Subject: Re: [linux-audio-dev] questions concerning Java 2 for Linux
From: Mike Petersen (snoopy_AT_cu.campus.mci.net)
Date: pe huhti 16 1999 - 04:21:12 EDT
---Reply to mail from Dave Phillips about [linux-audio-dev] questions concerning Java 2 for Linux
> I've had the Blackdown port of the JDK 1.2 installed for a while, but
> any time I try to run something under it I receive the following error:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /mnt/hdc2/jdk1.2/jre/lib/i386/libfontmanager.so:
> libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file
> or directory
Hello,
I have come across some replys in the blackdown list that that might
help...
>>>>>>>>
<QUOTE>
> 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 java-linux-request_AT_java.blackdown.org
> with a subject of "unsubscribe". Trouble? Contact
listadm_AT_java.blackdown.org
>
(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
</QUOTE>
<<<<<<<<<
There is evidently other variables which might require the use of
LD_PRELOAD as described in the README.linux
This archive was generated by hypermail 2b28 : ma maalis 13 2000 - 11:59:35 EST