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

Re: StarOffice 5 and Potato - Solution (?)



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
 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
    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
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


Reply to: