Date: Fri, 21 Nov 2003 17:28:16 +0100 From: Ronald Klop <ronald-freebsd3@klop.yi.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: freebsd opera 7.22 and java/applets (symbol __xuname not found) Message-ID: <opryzxdeuj87l8rq@outgoing.local> References: <opryya13rkiviuw0@news.opera.com> <87zneq5e09.fsf@opera.com> <opryzdhbesiviuw0@news.opera.com> <opryzd6layiviuw0@news.opera.com> <87ekw16evy.fsf@opera.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, I'm forwarding a conversation I had on opera.linux about the support of java applets in Opera for FreeBSD. Opera tells me that is can't find symbol __xuname in /usr/local/jdk1.4.2/jre/lib/i386/libawt.so, so it can't start java. Does anybody know how to solve this? I'm running 5-CURRENT of Nov 13 and Opera 7.22 and compiled JDK 1.4.2p5. The forwarded message contains some info from 'nm' and 'ldd'. Greetings, Ronald. P-II 400Mhz; 256 MB ---- Forwarded Usenet-message ---- From: Eirik Byrkjeflot Anonsen <eirik_at_opera_dot_com> Newsgroups: opera.linux Subject: Re: freebsd opera 7.22 and java/applets Date: Fri, 21 Nov 2003 14:16:17 +0100 URL: news://<87ekw16evy.fsf@opera.com> > Ronald Klop <ronald@not4mail.cs.vu.nl> writes: > >> On Fri, 21 Nov 2003 10:18:37 +0100, Ronald Klop >> <ronald@not4mail.cs.vu.nl> wrote: >> >>> On Fri, 21 Nov 2003 09:20:38 +0100, Eirik Byrkjeflot Anonsen >>> <eirik_at_opera_dot_com> wrote: >>> >>>> Ronald Klop <ronald@not4mail.cs.vu.nl> writes: >>>> >>>>> Hello, >>>>> >>>>> Java applets don't work on FreeBSD (5-CURRENT). >>>>> I just compiled jdk 1.4.2 for FreeBSD which works fine, but I can't >>>>> get it to work with Opera. >>>>> It gives this output: >>>>> >>>>> opera -debugjava >>>>> opera: [java] failed to load libawt.so: >>>>> /usr/local/jdk1.4.2/jre/lib/i386//libawt.so: Undefined symbol >>>>> "__xuname" >>>>> opera: [java] failed to load libjawt.so: >>>>> /usr/local/jdk1.4.2/jre/lib/i386//libawt.so: Undefined symbol >>>>> "__xuname" >>>>> opera: [java] failed to load a suitable awt library. Java will >>>>> not work >>>>> >>>>> It doesn't work on FreeBSD 4-STABLE also. And jdk 1.3.1 doesn't >>>>> work also? >>>>> The FreeBSD jdk is stable enough to pass the Sun tests (JCK?), so why >>>>> doesn't it work. >>>>> >>>>> Did the developers check this? Does anybody got it working? >>>> >>>> What does 'nm /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so | >>>> grep xuname' say? >>>> I'd also like to see 'ldd /usr/local/jdk1.4.2/jre/lib/i386/libawt.so'. >>>> >>>> The only FreeBSD box we have is the one we compile on, and I don't >>>> think we managed to install Java on it at all last time we tried... >>> >>> nm /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so | grep xuname >>> U __xuname > > So it's not in libjvm.. (U means "undefined"). > >>> >>> ldd /usr/local/jdk1.4.2/jre/lib/i386/libawt.so >>> /usr/local/jdk1.4.2/jre/lib/i386/libawt.so: >>> libmlib_image.so => not found (0x0) >>> libjvm.so => not found (0x0) >>> libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x283a8000) >>> libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x283b0000) >>> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x283fa000) >>> libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x28408000) >>> libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2840d000) >>> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28422000) >>> libm.so.2 => /lib/libm.so.2 (0x284de000) >>> libjava.so => not found (0x0) >>> libc_r.so.5 => /usr/lib/libc_r.so.5 (0x284f7000) >>> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x2851b000) >>> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28524000) >>> libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 >>> (0x2853a000) >>> >>> Is it something with my lib path settings? >> >> I added the 'ldd' command after export LD_LIBRARY_PATH in the first >> workaround part of the opera startup script and it gave this output. >> >> opera -debugjava >> /usr/local/jdk1.4.2/jre/lib/i386/libawt.so: >> libmlib_image.so => >> /usr/local/jdk1.4.2/jre/lib/i386//libmlib_image.so (0x283a8000) >> libjvm.so => >> /usr/local/jdk1.4.2/jre/lib/i386//client/libjvm.so (0x283f3000) >> libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28833000) >> libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x2883b000) >> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28885000) >> libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x28893000) >> libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28898000) >> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x288ad000) >> libm.so.2 => /lib/libm.so.2 (0x28969000) >> libjava.so => /usr/local/jdk1.4.2/jre/lib/i386//libjava.so >> (0x28982000) >> libc_r.so.5 => /usr/lib/libc_r.so.5 (0x289a0000) >> libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x289c4000) >> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28a80000) >> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28a89000) >> libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 >> (0x28a9f000) >> libverify.so => >> /usr/local/jdk1.4.2/jre/lib/i386//libverify.so (0x28aa1000) >> opera: [java] failed to load libawt.so: >> /usr/local/jdk1.4.2/jre/lib/i386//libawt.so: Undefined symbol >> "__xuname" >> opera: [java] failed to load libjawt.so: >> /usr/local/jdk1.4.2/jre/lib/i386//libawt.so: Undefined symbol >> "__xuname" >> opera: [java] failed to load a suitable awt library. Java will not work >> > > > Looks quite promising. So where is this __xuname defined, then? > > > eirik -- Ronald Klop Amsterdam, The Netherlands
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opryzxdeuj87l8rq>