From owner-freebsd-ports Mon Feb 12 15:48:56 2001 Delivered-To: freebsd-ports@freebsd.org Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by hub.freebsd.org (Postfix) with ESMTP id 5228837B491 for ; Mon, 12 Feb 2001 15:48:52 -0800 (PST) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id CAA12878 for ports@FreeBSD.ORG; Tue, 13 Feb 2001 02:48:49 +0300 (MSK) Date: Tue, 13 Feb 2001 02:48:49 +0300 From: "Valeriy E. Ushakov" To: ports@FreeBSD.ORG Subject: Re: Staroffice 5.2 on FreeBSD 4.2-RELEASE Message-ID: <20010213024849.A12731@snark.ptc.spbu.ru> Mail-Followup-To: ports@FreeBSD.ORG References: <3A885DA9.AFD3AD24@sprintlabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: ; from "Martin Blapp" on Mon, Feb 12, 2001 at 23:23:01 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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