Closed
Bug 189687
Opened 22 years ago
Closed 22 years ago
Java plugin fails with error LoadPlugin: failed to initialize shared library
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 189461
People
(Reporter: mrsteve, Assigned: peterlubczynski-bugs)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030119 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030119 I built mozilla from source yesterday and received the error: LoadPlugin: failed to initialize shared library /usr/local/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so [/usr/local/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so: undefined symbol: GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager] So I grabbed today's latest and receive the same error message. Although clicking Help | About Plugins shows Java is there, when attempting to go to a page with a java applet I receive an error stating the required plugin is not found. Reproducible: Always Steps to Reproduce: 1. Launch mozilla from a terminal. Actual Results: The error appears but mozilla does launch. Expected Results: Launched with no errors and web sites with Java should load normally.
Reporter | ||
Comment 1•22 years ago
|
||
I went back through the nightly builds, and the last one I was able to use Java with is 2003011522. Subsequent ones failed with the same error I posted previously.
I'm using java plugin on Linux with a more recent cvs build core ~% /opt/mozilla/mozilla -version Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030115, build 2003011512 and it works fine. I think your problem is that you are probably compiling with a dodgy compiler. Please alway use the 2.95 series of gcc since the compiler name mangling broke when they went to gcc 3.0 and it couldn't resolve names for the java plugin that Sun compile with the 2.95 series. I believe the fix is also in the latest gcc 3.2 series, but i'm not sure. If you have the 2.95 series installed,, you can change your compiler by doing make CC="gcc -V2.95.3" when reubilding mozilla from source.
Comment 3•22 years ago
|
||
Please search before you file a bug. This one is very easy to find. *** This bug has been marked as a duplicate of 189461 *** *** This bug has been marked as a duplicate of 189461 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 4•22 years ago
|
||
Dave: You build is old.. :-)
> Dave: You build is old.. :-) Matti, i can't update my build because of blocker bug 189691 ;-)
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•