Hi Guys
 
    I'm using Java to create some simple apps and now I'm starting to use Linux as well.
 
I installed the new Java 1.2 (pre v1) release but I'm having some problems. That's all right when I try to run apps with character outputs (just System.out methods) only, but an exception occurs when I try to use any GUI component (like Frame, for instance).
 
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/jdk1.2/jre/lib/i386/libfontmanager.so: libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Compiled Code)
at java.lang.ClassLoader.loadLibrary(Compiled Code)
at java.lang.Runtime.loadLibrary0(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at sun.security.action.LoadLibraryAction.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.font.NativeFontWrapper.<clinit>(NativeFontWrapper.java:41)
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:61)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Compiled Code)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Compiled Code)
at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Compiled Code)
at java.awt.Toolkit$2.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Compiled Code)
at java.awt.Window.getToolkit(Compiled Code)
at java.awt.Frame.addNotify(Compiled Code)
at java.awt.Window.show(Compiled Code)
at Teste.main(Compiled Code)
 
 
The "ldconfig -D" command is showing some warnings I think are my problem, but I don't have any idea about what to do...
 
ldconfig -D | grep warning > /mnt/disco_d/flavio/errojav2.txt
ldconfig: warning: /usr/i486-linux-libc5/lib/libform.so.1.9.9e has inconsistent soname libform.so.3.0)
ldconfig: warning: /usr/i486-linux-libc5/lib/libmenu.so.1.9.9e has inconsistent soname libmenu.so.3.0)
ldconfig: warning: /usr/i486-linux-libc5/lib/libncurses.so.1.9.9e has inconsistent soname libncurses.so.3.0)
ldconfig: warning: /usr/i486-linux-libc5/lib/libpanel.so.1.9.9e has inconsistent soname libpanel.so.3.0)
ldconfig: warning: /lib/ld-2.0.7.so has inconsistent soname (ld-linux.so.2)
ldconfig: warning: /lib/libBrokenLocale-2.0.7.so has inconsistent soname (libBrokenLocale.so.1)
ldconfig: warning: /lib/libc-2.0.7.so has inconsistent soname (libc.so.6)
ldconfig: warning: /lib/libcrypt-2.0.7.so has inconsistent soname (libcrypt.so.1)
ldconfig: warning: /lib/libdb-2.0.7.so has inconsistent soname (libdb.so.2)
ldconfig: warning: /lib/libdl-2.0.7.so has inconsistent soname (libdl.so.2)
ldconfig: warning: /lib/libm-2.0.7.so has inconsistent soname (libm.so.6)
ldconfig: warning: /lib/libnsl-2.0.7.so has inconsistent soname (libnsl.so.1)
ldconfig: warning: /lib/libnss_compat-2.0.7.so has inconsistent soname (libnss_compat.so.1)
ldconfig: warning: /lib/libnss_db-2.0.7.so has inconsistent soname (libnss_db.so.1)
ldconfig: warning: /lib/libnss_dns-2.0.7.so has inconsistent soname (libnss_dns.so.1)
ldconfig: warning: /lib/libnss_files-2.0.7.so has inconsistent soname (libnss_files.so.1)
ldconfig: warning: /lib/libnss_nis-2.0.7.so has inconsistent soname (libnss_nis.so.1)
ldconfig: warning: /lib/libpthread-0.7.so has inconsistent soname (libpthread.so.0)
ldconfig: warning: /lib/libresolv-2.0.7.so has inconsistent soname (libresolv.so.2)
ldconfig: warning: /lib/libutil-2.0.7.so has inconsistent soname (libutil.so.1)
 
 
I'm using RedHat 5.2. Can you help me, please ?
 
Thank you!
 
 

Reply via email to