Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 01/28/2013 07:39 PM, Rai, Neeraj wrote:
Hi Stephan,

I misspoke on Q2. It wasn't compilation error but a register error 
CannotRegisterImplementationException:loading component library failed:.
I am not sure how to debug this as same code with osl::socket registers. Do I need to link with 
certain libs?

         regcomp -register -r CalcAddinThr.rdb -c libCalcAddinThr.so
         libCalcAddinThr.so
         register component 'libCalcAddinThr.so' in registry 'CalcAddinThr.rdb' failed!
         error (CannotRegisterImplementationException): loading component library failed: 
libCalcAddinThr.so

If your LO installation is at /foo/bar, then running "LD_LIBRARY_PATH=/foo/bar/ure/lib ldd -r libCalcAddinThr.so" should indicate that something is missing (it either can't resolve a lib listed as DT_NEEDED, or it can't resolve some symbol).

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.