pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/26248: Java plugin for linux emulation Firefox doesn't load



>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
>Closed-Date:
>Last-Modified:
>Originator:     Calle Englund
>Release:        NetBSD 2.0_BETA
>Organization:
  ,  
 (K) Pope not Calle of Flaxborough <http://www.ctrl-c.liu.se/~calle/> 

                                                                    --
>Environment:
        
        
System: NetBSD aftermath.home.discord.bofh.se 2.0_BETA NetBSD 2.0_BETA 
(AFTERMATH) #8: Sat May 8 17:03:11 CEST 2004 
calle%aftermath.home.discord.bofh.se@localhost:/usr/src/sys/arch/i386/compile/AFTERMATH
 i386
Architecture: i386
Machine: i386
firefox-bin-0.8 with MOZILLA_USE_LINUX=YES
firefox-bin-java-1.1
>Description:
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/libjavaplugin_oji.so 
[/usr/pkg/java/sun-1.3.1/plugin/i386/ns600/libjavaplugin_oji.so: undefined 
symbol: __vt_17nsGetServiceByCID]

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

See http://plugindoc.mozdev.org/faqs/java.html

>How-To-Repeat:
        
echo MOZILLA_USE_LINUX=YES >> /etc/mk.conf
cd /usr/pkgsrc/www/firefox-bin-java; make install
firefox-linux
>Fix:
        

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
11c11
< DEPENDS+=             sun-jre13-[0-9]*:../../lang/sun-jre13
---
> DEPENDS+=             sun-jre14-[0-9]*:../../lang/sun-jre14
24c24
< PLUGIN=               
${PREFIX}/java/sun-1.3.1/plugin/i386/ns600/libjavaplugin_oji.so
---
> PLUGIN=               
> ${PREFIX}/java/sun-1.4/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index