[KLUG Members] OpenOffice 641D

Rinaldi J. Montessi members@kalamazoolinux.org
Tue, 09 Apr 2002 11:45:50 -0400


adam@morrison-ind.com wrote:
> 
> >>Anyone else playing with this? I really like what I see. It's supposedly
> >the last beta before the 1.0 release.
> >For a couple of weeks now...
> >>One thing I noticed is that the default template paper size is A4. Man,
> >what fun it was figuring that out. I'd hit print, the LJ would flash
> >"Processing Job" a moment, then nothing. I set the page to Letter and POOF!
> >it printed fine.
> >Only problem I had was with the lib*s.  Once I added the program subd.
> >path to ld.so.conf and ran ldconfig all was well.  I could not find a
> >way to set/export an OFFICE_HOME (?) environment.
> 
> I'd recommend NOT having OO or SOs libraries in your system path.  One - They
> were not meant to be there, Two - they will slow everything down as it makes a
> larger symbol table for the dynamic linker to walk through.

Agreed.  However, here soffice is just a symlink to soffice.bin.  
 
> The wrapper script "soffice" in your installation directory should set
> LD_LIBRARY_PATH, etc... for you automatically.  In your programs directory you
> should have scalc, swriter, simpress, etc... scripts.  Don't run soffice.bin
> directly,  it is just a mother for application components.

If I were to make an soffice a script:  (I love messing with things I
know nothing about)

#!/bin/bash

LD_LIBRARY_PATH=/home/Rinaldi/OpenOffice641d/program/
export LD_LIBRARY_PATH
exec /home/Rinaldi/OpenOffice641d/program/soffice.bin &

Yes.  It works.  I took the "offending" entry out of ld.so.conf, reran
ldconfig, ran ldconfig -p | grep 641 to make sure they were gone, and
ran the soffice script.

Do you see any glaring flaws?  

Thanks,
 
Rinaldi
-- 
Aint Nobody's Business If You Do