From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8f05ef825582bc15,start X-Google-Attributes: gid111c93,public From: Mathieu Millet Subject: Conflict between libraries ? Date: 2000/05/24 Message-ID: <392C13B8.20439D1C@minet.net>#1/1 X-Deja-AN: 626807582 Content-Transfer-Encoding: 8bit X-Accept-Language: fr-FR, en Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: abuse@int-evry.fr X-Trace: ur.int-evry.fr 959190246 31390 157.159.40.253 (24 May 2000 17:44:06 GMT) Organization: INT Mime-Version: 1.0 NNTP-Posting-Date: 24 May 2000 17:44:06 GMT Newsgroups: comp.os.linux.alpha Hi everyone, I'm having trouble to make JDK 1.2 working. When I want to execute any Java application which requires graphics I get this error : Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/jdk12/jre/lib/alpha/libawt.so: libXm.so.1: cannot open shared object file: Aucun fichier ou r?pertoire de ce type at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1203) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1119) at java.lang.Runtime.loadLibrary0(Runtime.java:470) at java.lang.System.loadLibrary(System.java:745) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:57) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:882) at java.awt.Toolkit.(Toolkit.java:903) at java.awt.Component.(Component.java:258) It seems that it can't find the file libXm.so.1, right ? I use RH 6.2 and netscape-4.73-1 is installed from RPM With the jdk1.2 that I downloaded from alphalinux.org, it is noted that it needs libs from motif, so first I installed lesstif (from rpm). It doesn't resolve the problem. Then I try, the newly free libs from openmotif. It doesn't work either. Then, I search for this lib on my drives and find it in (openmotif is still installed) : /usr/X11R6/lib /usr/shlib I remember to have read somewhere that netscape needs this library in order to work and it installed libs in /usr/shlib. Can somebody help me to make graphics in Java work ? Thanks for any answer, Mathieu. -- Mathieu Millet, TelecomINT, ingenieur 3eme annee Insitut National des Telecommunications, Evry, France mailto:llihtam@minet.net ; mailto:mathieu.millet@int-evry.fr ICQ#:5455519 ----