From owner-freebsd-current@FreeBSD.ORG Fri Nov 4 16:53:34 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5B2216A420 for ; Fri, 4 Nov 2005 16:53:34 +0000 (GMT) (envelope-from vincent@xtra-net.org) Received: from relay.xtra-net.org (cable-195-162-200-89.customer.tvd.be [195.162.200.89]) by mx1.FreeBSD.org (Postfix) with SMTP id 924FC43D5A for ; Fri, 4 Nov 2005 16:53:24 +0000 (GMT) (envelope-from vincent@xtra-net.org) Received: (qmail 31778 invoked from network); 4 Nov 2005 16:53:21 -0000 Received: from wbedllfs.xtra-net.org (192.168.1.21) by 0 with SMTP; 4 Nov 2005 16:53:21 -0000 From: Vincent Blondel To: current@freebsd.org Content-Type: text/plain Date: Fri, 04 Nov 2005 17:51:51 +0100 Message-Id: <1131123111.2379.14.camel@wbedllfs.xtra-net.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: Cant load plugin libjavaplugin_oji.so X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vincent@xtra-net.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 16:53:34 -0000 Dears, I get a cisco PIX firewall and to access the built-in web interface (PDM - PIX Cisco Device Manager), it is highly recommended to use Netscape Navigator 4.78 and Linux JVM 1.4.1_02. So I downloaded these two softwares on my current (7.0) FreeBSD system and installed them in /opt as : /opt/netscape-4.78 /opt/jre1.4.1_02 I configured my system by setting : COMPAT="/usr/compat/linux" JAVA_HOME="/opt/j2re1.4.1_02" export COMPAT JAVA_HOME PATH=$JAVA_HOME/bin:$COMPAT/sbin:$COMPAT/bin:$COMPAT/usr/sbin:$ COMPAT/usr/bin:$COMPAT/usr/X11R6/bin:$PATH LD_LIBRARY_PATH=$COMPAT/lib:$COMPAT/usr/lib:$COMPAT/usr/X11R6/lib DISPLAY=:0.0 export PATH LD_LIBRARY_PATH DISPLAY I also created a symbolic link in my home dir to the right JVM with : /root/.netscape/plugins/libjavaplugin_oji.so -> /opt/j2re1.4.1_02/plugin/i386/ns600/libjavaplugin_oji.so Netscape runs correctly but it can't load the JVM plugin. You get below the resulted output from the 'truss' command. Can somebody help me ? Regards --------------- linux_open("/root/.netscape/plugins",0x18800,00) = 14 (0xe) linux_fstat64(0xe,0xbfbf77b0,0x289d9160) = 0 (0x0) linux_fcntl64(0xe,0x2,0x1) = 0 (0x0) linux_getdents64(0xe,0x8b86030,0x1000) = 88 (0x58) linux_stat64(0xbfbf7858,0xbfbf7708,0xbfbf7858) = 0 (0x0) linux_stat64(0xbfbf7858,0xbfbf76f0,0xbfbf7858) = 0 (0x0) linux_open("/root/.netscape/plugins/libjavaplugin_oji.so",0x0,011773) = 15 (0xf) read(0xf,0xbfbf7240,0x200) = 512 (0x200) linux_fstat64(0xf,0xbfbf715c,0x286a2bfc) = 0 (0x0) linux_mmap(0xbfbf708c) = 681594880 (0x28a05000) linux_mmap(0xbfbf708c) = 681775104 (0x28a31000) close(15) = 0 (0x0) mprotect(0x28a05000,180224,(0x3)PROT_READ|PROT_WRITE) = 0 (0x0) SIGNAL 14 (SIGALRM) SIGNAL 14 (SIGALRM) gettimeofday({1131122073 697734},0x0) = 0 (0x0) linux_sigreturn(0xbfbf70a0) = 0 (0x0) munmap(0x28a05000,0x3446c) = 0 (0x0) ERROR: /root/.netscape/plugins/libjavaplugin_oji.so: undefined symbol: GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager Cant load plugin /root/.netscape/plugins/libjavaplugin_oji.so. Ignored. write(2,0xbfbf50fc,208) = 208 (0xd0) linux_getdents64(0xe,0x8b86030,0x1000) = 0 (0x0) close(14) = 0 (0x0)