[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: StarOffice 5 and Potato - Solution



Okay, I finally got around to trying your 'receipe'.  I picked up on a few of
spelling errors, as noted below.

Here are the errors I still get:

SlimeCity:~$ cd Office50/bin/
SlimeCity:~/Office50/bin$ ./soffice
/usr/share/Office50/bin/soffice.bin: error in loading shared libraries
/usr/X11R6/lib/libX11.so.6: undefined symbol: __bzero
SlimeCity:~/Office50/bin$

Any idea why?  Do you know if anyone has made up a howto page yet?

Wim
www.canadianhomes.net/wim
kerkhoff@uniserve.com
-----------------------


Brad wrote:

> That's pretty close to the system i came up with, i was just waiting to
> hear back if it worked for anyone else before i claimed i solved the
> problem ;)
>
> Let's see... diffs. psetup works for me without patching, did you try
> that? Also, if you put the glibc 2.0 libs into ${StarOffice}/lib you don't
> have to change the packages scripts at all. The extra '/lib/ld-2.0.7.so.2'
> in the very last line to exec the soffice.bin is unnecessary once the
> binary itself is patched to call the correct lib loader, and that fixes
> the system() call to /bin/sh and the error on startup that it can't find
> the file $sd_inst/bin/$sd_binary.
>
> i think i will write that mini-HOWTO, although it might be a few days
> [weeks] before i can get anything done on it...
>
> The directions i have currently are attached. Given your post, i think
> they work for at least 2 people. Out of the alpha stage now. Bug reports
> to this address.
>
> On Mon, 26 Apr 1999, Bernard de Rubinat wrote:
>
> > I got into the same trouble as many people who tried to get staroffice
> > 5.0(1?) to work with glibc2.1. I also did try many things I have seen, and I
> > also had many failures to make it work with most recepes,
> > BUT I FINALLY GOT IT TO WORK.
> >
> > Here is a recipe I made out of my various attemps. I made a simplified
> > version of all my attemps, so I may be wrong somewhere, but hopefuly it is
> > correct.
> >
> >  1/ mkdir /tmp
> >  2/ get libc6_2.0.7.*.deb from a debian ftp mirror (slink).
> >  3/ ar -x libc6_2.0.7.19981211-6.deb
> >  4/ tar xvzf data.tar.gz
> >  5/ mkdir /usr/local/glibc2.0
> >  6/ cp -a lib/* /usr/local/glibc2.0
> >  7/ ln -s /usr/local/glibc2.0/ld-linux.so.2 /lib/ld-2.0.7.so.2
> >  8/ cd /full/path/to/Office/lib

                                        ^^^^^^^
'lib' should be 'bin'

>
> >  9a/ mv soffice.bin soffice.bin.orig
> >  9b/ mv setup.bin setup.bin.orig
> >  9c/ mv psetup.bin psetup.bin.orig
> >  10a/ cat soffice.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
> >       > soffice.bin   # this is a single line or use '\'
> >  10b/ cat setup.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
> >       > setup.bin     # this is a single line or use '\'
> >  10c/ cat psetup.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
> >       > psetup.bin    # this is a single line or use '\'
> >  11/ update the /full/path/to/Office/bin/soffice script
> >     change :
> >       LD_LIBRARY_PATH=$sd_inst/lib:$LD_LIBRARY_PATH
> >     into :
> >       LD_LIBRARY_PATH=/usr/local/glibc20/:$sd_inst/lib:$LD_LIBRARY_PATH

                                                        ^^^^^^^^^^^^^^^
Their should be a '.': glibc2.0

>
> >     and change :
> >       exec $sd_inst/bin/$sd_binary "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
> >     into :
> >       /lib/ld-2.0.7.so.2 $sd_inst/bin/$sd_binary "$1" "$2" "$3" "$4" "$5"
> > "$6" "$7" "$8" "$9"
> >
> > Hope this helps. If this helps, does anyone feel to write a mini-HOWTO?
> >
> > Best regards,
> >
> >
> > Bernard
> >
> >  --- here is a post not beloging to this list ---
> >
> > Subject: Star Office with Glibc 2.1 (howto doit and what is broken)
> > Date: Wed, 07 Apr 1999 07:27:27 GMT
> > From: jole@jole.fi
> > Newsgroups: stardivision.com.support.misc
> >
> >
> > The instructions have already been posted to this group, but here they are
> > again (with more details).
> >
> > You can get already installed soffice to work by doing the following:
> >
> > 1) cd /full/path/to/Office/lib
> > 2) tar xfz glibc2.tar.gz
> > 3) mv glib*/* . ; rmdir glib*
> > 4) cd ../bin
> > 5) emacs *.bin
> > 6) using overwrite mode change /lib/ld-linux.so.2 to /lib/ld-2.0.7.so.2 in
> >    all binaries
> > 7) ln -s /full/path/to/Office/lib/ld-linux.so.2 /lib/ld-2.0.7.so.2
> >
> > After this soffice starts and works as it should.
> >
> > Unfortunately soffice uses system() call, which execvp /bin/sh, when
> > printing (even to file) and thus the printing does not work. I tried to
> > patch the libc itself (changed /bin/sh in the library to /old/sh, copied sh,
> > cat and lpr to /old and patched them as well. Also soffice starting script
> > must be edited.  After this printing to file does not give errors, but
> > results to empty file.  Normal printing still tries to exec /usr/bin/lpr for
> > some reason).
> >
> >  ---
> >
> >
> > On Fri, Apr 23, 1999 at 08:35 -0400, Christian Lavoie wrote:
> > > > On Wed, 21 Apr 1999, Brad wrote:
> > > >
> > > > >By putting together ideas from a few posts here and in linux-kernel, i've
> > > > >managed to get StarOffice 5.01 working on my Potato box. Now, i have two
> > > > >problems:
> > > > > 1) i know it works on my box. But what about anyone else's?
> > > > > 2) If it does work, what do i do to let people know how to do it? Just
> > > > >    letting it sit on my hard drive unused by anyone else doesn't sound
> > > > >    too appealing...
> > >
> > > 2) How about writing a 'SO5 and glic2.1 Mini- HOWTO'?
> > >
> > > Christian Lavoie
> > > clavoie@enter-net.com
> > > UIN: 947212
>
>   ------------------------------------------------------------------------
>              Name: README
>    README    Type: Plain Text (TEXT/PLAIN)
>          Encoding: BASE64
begin:vcard 
n:Kerkhoff;Wim
tel;fax:604-795-2935
tel;home:604-795-7419
x-mozilla-html:FALSE
url:http://www.canadianhomes.net/wim
adr:;;43810 Chilliwack Mountain Road;Chilliwack;BC;V2R 4A1;Canada
version:2.1
email;internet:kerkhoff@uniserve.com
title:Student
note:http://www.canadianhomes.net/wim
x-mozilla-cpt:;-960
fn:Wim Kerkhoff
end:vcard

Reply to: