From owner-freebsd-questions@FreeBSD.ORG Fri May 12 21:18:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A35D16AAFE for ; Fri, 12 May 2006 21:18:22 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B50A43D5E for ; Fri, 12 May 2006 21:18:19 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (monrovll-cuda1-24-53-251-44.pittpa.adelphia.net [24.53.251.44]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Fri, 12 May 2006 17:18:19 -0400 id 00056403.4464FB9B.00000FB8 Date: Fri, 12 May 2006 17:18:18 -0400 From: Bill Moran To: solsyst@netscape.net Message-Id: <20060512171818.78252405.wmoran@collaborativefusion.com> In-Reply-To: <8C8441C7729695A-D0-13591@mblkn-m02.sysops.aol.com> References: <8C8441C7729695A-D0-13591@mblkn-m02.sysops.aol.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: StarOffice inmstallation in FreeBSD 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 21:18:25 -0000 solsyst@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.