Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28374 - dev-java/sun-jdk-1.4.2.01 : Wrong symbolic link in Mozilla plugin dir makes Mozilla & Firebird crash
Summary: dev-java/sun-jdk-1.4.2.01 : Wrong symbolic link in Mozilla plugin dir makes M...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Adrian Almenar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-10 11:21 UTC by Sven Jacobs
Modified: 2003-09-11 22:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Jacobs 2003-09-10 11:21:43 UTC
After updating to sun-jdk-1.4.2.01 Mozilla as well as Firebird did not start
anymore. Mozilla quit right after loading without any error message, Firebird
crashed with:

INTERNAL ERROR on Browser End: No manager for initializing factory?

System error?:: Success


The symbolic link to the java plugin in /usr/lib/mozilla is wrong! It points to
/opt/sun-jdk-1.4.2.01/jre/plugin/i386/ns610/libjavaplugin_oji.so but SHOULD
point to /opt/sun-jdk-1.4.2.01/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so. 

Fix:

1. login as root
2. cd /usr/lib/mozilla
3. rm libjavaplugin_oji.so
4. ln -s /opt/sun-jdk-1.4.2.01/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
libjavaplugin_oji.so

The ebuild should be adjusted!

Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2. update to sun-jdk-1.4.2.01
3. try to start Mozilla 1.4 or Firebird 0.6.1

Actual Results:  
they crash

Expected Results:  
they should load

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) MP 1700+
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk
java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis
gtk qt kde motif opengl mozilla ldap cdr scanner 3dnow acpi acpi4linux apache2
dvd fbcon mldonkeypango samba sse tiff"
Comment 1 Sven Jacobs 2003-09-10 23:55:20 UTC
Meant /usr/lib/mozilla/plugins instead of /usr/lib/mozilla
Comment 2 Adrian Almenar 2003-09-11 22:06:50 UTC
The problem exactly appeared when you updated to GCC 3.3.1. 
 
Also the JDK ebuild had a bug that was only checking '= gcc 3.2*' 
 
Commited to portage. 
 
To fix your install: 
1.- Remove the symlink you made. 
2.- emerge -C sun-jdk 
3.- emerge sun-jdk 
 
Thanks