From owner-freebsd-questions Tue Jan 21 07:43:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA25469 for questions-outgoing; Tue, 21 Jan 1997 07:43:15 -0800 (PST) Received: from delivery.hotmail.com (delivery.hotmail.com [207.82.250.65]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id HAA25464 for ; Tue, 21 Jan 1997 07:43:13 -0800 (PST) Received: (http://www.hotmail.com 13854 invoked by uid 0); 21 Jan 1997 15:43:12 -0000 Date: 21 Jan 1997 15:43:12 -0000 Message-ID: <19970121154312.13852.qmail@hotmail.com> Received: from 206.86.127.204 by www.hotmail.com with HTTP; Tue, 21 Jan 1997 07:43:12 PST X-Originating-IP: [202.190.129.45] From: "M.C Wong" To: questions@freebsd.org Subject: [2.1R] Help needed to get JDK working with lesstif 0.75a lib! Content-Type: text/plain Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Has anyone managed to get *all* the java utilities with the JDK to work ? For example, appletviewer and java need libXm and since *not* many of us actually have Motif lib, I tried lesstif 0.75a lib but did not work and get the following errors: lespoir:/local/jdk/lib/i386 208 > appletviewer Undefined symbol "_objectClassRec" in java:/usr/local/jdk/lib/i386/libXm.so.1.2 (/usr/local/jdk/lib/i386/libawt.so) Undefined symbol "_objectClassRec" in java:/usr/local/jdk/lib/i386/libXm.so.1.2 (/local/jdk/bin/../lib/i386/libawt.so) java.lang.UnsatisfiedLinkError: no awt in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at sun.awt.motif.MToolkit.(MToolkit.java:37) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:191) at sun.applet.AppletCopyright.(AppletCopyright.java:33) at sun.applet.AppletViewer.mainInit(AppletViewer.java:861) at sun.applet.AppletViewer.main(AppletViewer.java:870) java.lang.UnsatisfiedLinkError: init at sun.awt.motif.MToolkit.(MToolkit.java:41) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:191) at sun.applet.AppletCopyright.(AppletCopyright.java:33) at sun.applet.AppletViewer.mainInit(AppletViewer.java:861) at sun.applet.AppletViewer.main(AppletViewer.java:870) Well, this is sort of expected since lesstif 0.75a lib is actually numbered as libXm.so.0.0 and which ever Xm version it really corresponds to is unknown to me and I merely try to rename it to the required version by program, ie to 1.2. So, does anyone know if a versio of Motif-like lib apart from lesstif out there does work with the JDK ? Oh, also, I also tried to use lesstif libXm.so.0.0 with Xemacs (which requires libXm.so.2.0), however got the following errors: lespoir:/usr/X11R6/lib 198 > xemacs ld.so: warning: libutil.so.2.0: minor version < 1 expected, using it anyway Error: No ExtNode to pop! Note that all the packages tried (JDK, xemacs, lesstif etc) are ftp'ed via packages/ports from ftp.freebsd.org with the right patches etc applied. Thanks in advance. --------------------------------------------------------- Get Your *Web-Based* Free Email at http://www.hotmail.com ---------------------------------------------------------