Subject: pkg/26248: Java plugin for linux emulation Firefox doesn't load
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 07/11/2004 16:03:21
>Number:         26248
>Category:       pkg
>Synopsis:       Java plugin for linux emulation Firefox doesn't load
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 11 14:34:00 UTC 2004
>Originator:     Calle Englund
>Release:        NetBSD 2.0_BETA
 (K) Pope not Calle of Flaxborough <> 

System: NetBSD 2.0_BETA NetBSD 2.0_BETA (AFTERMATH) #8: Sat May 8 17:03:11 CEST 2004 i386
Architecture: i386
Machine: i386
firefox-bin-0.8 with MOZILLA_USE_LINUX=YES
When starting firefox the java plugin fails to load with the following error.

LoadPlugin: failed to initialize shared library /usr/pkg/java/sun-1.3.1/plugin/i386/ns600/ [/usr/pkg/java/sun-1.3.1/plugin/i386/ns600/ undefined symbol: __vt_17nsGetServiceByCID]

The error seems to be because the java plugin is incompatible with gcc 3.x
builds of firefox/mozilla.


echo MOZILLA_USE_LINUX=YES >> /etc/mk.conf
cd /usr/pkgsrc/www/firefox-bin-java; make install

aftermath:firefox-bin-java% cvs diff Makefile
Index: Makefile
RCS file: /cvsroot/pkgsrc/www/firefox-bin-java/Makefile,v
retrieving revision 1.5
diff -r1.5 Makefile
< DEPENDS+=             sun-jre13-[0-9]*:../../lang/sun-jre13
> DEPENDS+=             sun-jre14-[0-9]*:../../lang/sun-jre14
< PLUGIN=               ${PREFIX}/java/sun-1.3.1/plugin/i386/ns600/
> PLUGIN=               ${PREFIX}/java/sun-1.4/plugin/i386/ns610-gcc32/