Closed Bug 230530 Opened 21 years ago Closed 21 years ago

Load of Acrobat5 plugin fails with symbol XmProcessTraversal not found

Categories

(Core Graveyard :: Plug-ins, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 211587

People

(Reporter: rdkmoz, Assigned: peterlubczynski-bugs)

Details

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.5) Gecko/20040108 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.5) Gecko/20040108 Hi! I built Mozilla 1.5 on Solaris 2.9 with gcc 3.2.2, gmake 3.71, gtk 1.2. When I load the acrobat5 plugin, it fails with: ld.so.1: /usr/local/mozilla/mozilla-bin: fatal: relocation error: file /columbia0/solaris.local/Acrobat5/Browsers/sparcsolaris/nppdf.so: symbol XmProcessTraversal: referenced symbol not found Re-linking mozilla binary with libXm.so solves the problem and the Acrobat5 plugin now loads and works fine. On my solaris build system, I added -lXm to the autoconf.mk file and re-linked. Mozilla now loads nppdf.so plugin fine. Reproducible: Always Steps to Reproduce: 1. Build mozilla straight from 1.5 source on Solaris, with gcc 3.2.2 and gtk 1.2 2. Add the nppdf.so plugin to the mozilla plugins directory (or link to .so) 3. Load a pdf file either via web or locally Actual Results: Mozilla exited with: ld.so.1: /usr/local/mozilla/mozilla-bin: fatal: relocation error: file /columbia0/solaris.local/Acrobat5/Browsers/sparcsolaris/nppdf.so: symbol XmProcessTraversal: referenced symbol not found Expected Results: It should have loaded the plugin and resolved XmProcessTraversal() in libXm. On solaris, one can find XmProcessTraversal() in libXm.so either in /usr/lib or /usr/dt/lib This one is a simple fix on Solaris. Simply add -lXm to the linker command line and then symbols in libXm can be referenced by the browser and plugins that it loads.
Sounds like the plugin is just buggy -- depends on libXm but does not actually link to it.... This is covered elsewhere, iirc.
Whiteboard: DUPEME
this should be fixed in 1.6b (it seems like it did not make it in time for 1.5 release). Please reopen if you still have the issue with 1.6b. *** This bug has been marked as a duplicate of 211587 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
OS: SunOS → Solaris
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.