Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 02:48:49 +0300
From:      "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
To:        ports@FreeBSD.ORG
Subject:   Re: Staroffice 5.2 on FreeBSD 4.2-RELEASE
Message-ID:  <20010213024849.A12731@snark.ptc.spbu.ru>
In-Reply-To: <Pine.BSF.4.21.0102122321410.5030-100000@levais.imp.ch>; from "Martin Blapp" on Mon, Feb 12, 2001 at 23:23:01
References:  <3A885DA9.AFD3AD24@sprintlabs.com> <Pine.BSF.4.21.0102122321410.5030-100000@levais.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 12, 2001 at 23:23:01 +0100, Martin Blapp wrote:

> > /usr/ports/editors/staroffice52/work/tmp/sv001.tmp/setup.bin: error in
> > loading shared libraries: libvos1GCC.so: cannot open shared object file:
> > No such file or directory
> > *** Error code 1 (ignored)
> 
> Some of you have reported this error to me, but I could never
> reproduce it. It's very very strange.

That's odd.  I *did* see this error for a Russian version too last
time I installed it on STABLE, about a month ago (manually, using
editors/staroffice52 as a guideline).  I solved this with creative
symlinking and LD_LIBRARY_PATH tweaks.

Now I've just installed it on a STABLE box (as of Feb 3) and, oddly, I
have *not* seen this problem this time, though I really was expecting
it.

$ cd /export/soffice
$ cp ..../so-5_2-ga-bin-linux-ru.bin .
$ mkdir setup
$ SAL_IGNOREXERRORS=1 ./so-5_2-ga-bin-linux-ru.bin -extract setup
$ cd setup
$ vi setup.ins	# do post-configure tweaks
$ SAL_IGNOREXERRORS=1						\
  TEMP=/export/soffice						\
  LD_LIBRARY_PATH=/compat/linux/lib:/compat/linux/usr/lib	\
  /compat/linux/bin/sh -c './setup /net'

And setup runs.

[couple of minutes later, after couple of experiments]

Doh!  Just as I wrote in another letter about StarOffice earlier
today!  This time I did PATH=/bin:$PATH before going through the
instalation, as I was bitten by this last time, as shell scripts pick
BSD's uname (from /usr/bin) instead of Linux' one (from /bin).

When I removed /bin from the front of the PATH - voila - I do get this
missing shlib error.

So the solution seems to be to enforce /bin being in the front of PATH!

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010213024849.A12731>