Page 1 of 1

Bootstrap UNO without DYLD_LIBRARY_PATH being set on startup

Posted: Wed Sep 10, 2008 8:40 am
by miket
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

Re: Bootstrap UNO without DYLD_LIBRARY_PATH being set on startup

Posted: Mon Sep 15, 2008 10:36 pm
by hol.sten
Try this for example: [Java solution] "no office executable found!": http://user.services.openoffice.org/en/ ... =44&t=2520