java doesnt work with mozilla or firefox when compiled with gcc-3.4 Reproducible: Always Steps to Reproduce: 1.emerge mozilla (mozilla-firefox) using gcc-3.4 2.emerge blackdown (or your java preference) 3.refer to plugin list Actual Results: plugin doesn't load Expected Results: full working mozilla mozilla-firefox with java support I have double checked the symlinks to make sure they are corrected and I have tried sun java all with no success.
After I emerged the lastest gcc-3.4.0-r2 + gcc-config-1.3.5-r1, java-plugin works. One thing that you might want to check is the file '/etc/env.d/05gcc' make sure tht you have an entry 'LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.0:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.x"' (gcc-3.3.x is the latest gcc-3.3 you've emerged.) then do `env-update && source /etc/profile`. Unless you already `emerge -C gcc-3.3.x`.
thankyou for reporting this fixed
I have just tried everything you said, the problem lies in mozilla-firefox being built against the gcc 3.4 libs. this system was completely bootstraped with gcc-3.4 and still has issues when using it needs to use java in the browser.
I have the same problem with a non-working java and gcc 3.4.0-r5. The "fix" did not work for me. LoadPlugin: failed to initialize shared library /usr/lib/nsbrowser/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so [/usr/lib/nsbrowser/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so: undefined symbol: __vt_17nsGetServiceByCID] LoadPlugin() /usr/lib/nsbrowser/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so returned 0 LoadPlugin() /usr/lib/nsbrowser/plugins/libnullplugin.so returned 8fdb390 GetMIMEDescription() returned "*:.*:All types" LoadPlugin: failed to initialize shared library /usr/lib/nsbrowser/plugins/libvlcplugin.so [libstdc++.so.5: cannot open shared object file: No such file or directory] LoadPlugin() /usr/lib/nsbrowser/plugins/libvlcplugin.so returned 0 Portage 2.0.50-r7 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.7-rc1-love1) ================================================================= System uname: 2.6.7-rc1-love1 i686 AMD Athlon(TM) MP 2400+ Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -pipe -ftracer -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -pipe -ftracer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa apm avi berkdb bonobo crypt cups curl directfb encode esd evo faad fbcon ffmpeg flac fltk foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib java jpeg ldap libg++ libwww live mad mikmod mmx motif mozilla mpeg mpeg4 ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb wmf wmv x86 xine xinerama xml2 xmms xv zlib"
I could fix this for me with: Clearing out all old blackdown versions and installing sun-jdk. Now java works with mozilla and firefox again!
I have retested everything when it comes to java problem. Blackdown doesnt work when using gcc-3.4.0 however java works fine when using sunjava maybe this should be upstreamed to blackdown.
Both mozilla 1.7.x and Firefox 0.9.x work just fine with blackdown jdk (for me). System bootstrapped with gcc 3.4 all the way. I do have the sys-libs/libstdc++-v3-3.3.3-r1 package merged (this provides an older libstdc++ to which java is linked, my feeling says without this package you will have serious issues on precompiled c++ things)
I have talked with the blackdown developers they do agree there is a problem and they fixed it in the latest release we have in portage already ... if anyone has any questions they are more then willing to explain things thanks for the support from all to a speedy resolution to the problem and lets keep fixin them bugs.