StarOffice inmstallation in FreeBSD 6.0

Bill Moran wmoran at collaborativefusion.com
Fri May 12 14:18:25 PDT 2006


solsyst at netscape.net wrote:

> Dear FreeBSD:
> Here is my problem description and my question.
> 
> I have a bin file for Star office 5.2. (so-5_2-ga-bin-linux-en.bin). 
> Somehow, a few years ago, I successfully installed it on my Linux 
> system.

This is not a direct answer to your question, but is there any reason why
you can't install OpenOffice.org?  Especially considering the fact that
SO 5.2 is _really_ old, and OpenOffice.org replaces it anyway?

> I recently installed FreeBSD 6.0 and checked my Linux (base 8) 
> compatibility. Seems to be operating ok.
> 
> So, first I did a "brandelf -t linux 
> /usr/TEMP/so-5_2-ga-bin-linux-en.bin so that FreeBSD sees the file as a 
> linux binary. Then I ran ./so-5_2-ga-bin-linux-en.bin /net under TRUSS 
> and observed the execution opening and closing  several files. But when 
> it opened /usr/X11R6/lib/libX11.so.6 it was not happy. It closed the 
> file and reported that "ELF file OS ABI invalid.". So I did a brandelf 
> on the file and sure enough was told "is of brand FreeBSD"
> 
> So here is my question: The file /usr/X11R6/lib/libX11.so.6 is used in 
> the X system. Will I screw up my X system if I do a "brandelf -t linux 
> /usr/X11R6/lib/libX11.so.6"  to this file so that 
> ,/so-5_2-ga-bin-linux-en.bin  sees a Linux binary? I am assuming that a 
> "brandelf -t linux /usr/X11R6/lib/libX11.so.6" will fix  the error "ELF 
> file OS ABI invalid."and the ./so-5_2-ga-bin-linux-en.bin execution 
> will continue to the next file problem, and so on till star office is 
> loaded and I can install and run under star office.

Good luck.  I expect that trying to brandelf your way around this problem
won't work, but you can try it.  If is screws up X, just re-brand the
binary back to FreeBSD.

I expect, however, that branding it _will_ break X, and won't help with
your installation anyway.

-- 
Bill Moran

ZOE: Preacher, don't the Bible have some pretty specific things to say about
 killing?
BOOK: Quite specific. It is, however, somewhat fuzzier on the subject of
 kneecaps.



More information about the freebsd-questions mailing list