Apache OpenOffice (AOO) Bugzilla – Issue 5019
Can't send document as Email by menu "File > Send > Email"
Last modified: 2002-05-18 23:42:40 UTC
I am running Debian 2.2 with mozilla 0.9.8. When I choose "File > Send > Email", OpenOffice saves the file I am working on and appears to try to start mozilla (my mail program). But then OpenOffice produces the following output on stderr and the mail program never opens: ************************************************** nsNativeComponentLoader: SelfRegisterDll(/other/OpenOffice.org1.0/program/components/libabsyncsvc.so) Load FAILED with error: /other/OpenOffice.org1.0/program/components/libabsyncsvc.so: undefined symbol: _ZNK23nsPrivateSharableString22GetImplementationFlagsEv ************************************************** ************************************************** nsNativeComponentLoader: SelfRegisterDll(/other/OpenOffice.org1.0/program/components/libaddrbook.so) Load FAILED with error: /other/OpenOffice.org1.0/program/components/libaddrbook.so: undefined symbol: _ZNK24nsPrivateSharableCString22GetImplementationFlagsEv ************************************************** /usr/bin/mozilla-bin-0.9.8: relocation error: /other/OpenOffice.org1.0/program/components/libmork.so: undefined symbol: _Z20NS_NewGenericModule2P12nsModuleInfoPP9nsIModule When I manually enter the command that OpenOffice is using to start mozilla, i.e., /usr/bin/mozilla-0.9.8 -compose "attachment='file:///home/mre/OpenOffice.org1.0/user/temp/soffice.tmp/svl55.tmp/noname6.sxw'" then mozilla starts-up just fine. Any info or help with this is appreciated. Thanks, Jeff Nye
A little further looking revealed that the source of the error message is Mozilla, not OpenOffice. On my Debian system, there are installed two versions of several mozilla libraries, one for mozilla and one for OpenOffice. These appear to conflict, causing mozilla to complain about unresolved symbols. I'm still looking for a solution, but I no longer believe this is a problem with the OpenOffice framework.
I found out what the problem was. The soffice script sets the variable MOZILLA_FIVE_HOME and the Debian mozilla-0.9.8 script does not. So when OpenOffice starts mozilla, the MOZILLA_FIVE_HOME is pointing to OO's mozilla libraries rather than mozilla's own. Adding a line in the Debian mozilla-0.9.8 script to set MOZILLA_FIVE_HOME fixed this problem.
I misunderstood WORKSFORME. Sorry about that.