I have an application that uses OpenOffice as a client for doing document conversion. The application is thought to be installed on a Mac that already has OpenOffice installed. My problem is, that I seemingly need to set DYLD_LIBRARY_PATH before starting my application -- otherwise I cannot bootstrap UNO (createSimpleRegistry() fails).
I have tried to give the createSimpleRegistry call a path to the <OO.o>/program directory, but that path seems only to be used to find the "bootstrap.uno" library, and not the ones that "bootstrap.uno" requires (ktrace hinted this).
I have also looked at the unoapploader, but I would rather not use that.
Is it possible to use some other environment variable that I can set at run-time? Or set the path in some other way..?
Kind regards,
Michael
Bootstrap UNO without DYLD_LIBRARY_PATH being set on startup
Bootstrap UNO without DYLD_LIBRARY_PATH being set on startup
OOo 2.4.X on Ms Windows XP + Mac OSx
Re: Bootstrap UNO without DYLD_LIBRARY_PATH being set on startup
Try this for example: [Java solution] "no office executable found!": http://user.services.openoffice.org/en/ ... =44&t=2520
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP