From owner-freebsd-ports Mon Jul 2 1:27:30 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 9A5DA37B401 for ; Mon, 2 Jul 2001 01:27:26 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 11677 invoked by uid 1000); 2 Jul 2001 08:32:02 -0000 Date: Mon, 2 Jul 2001 11:32:02 +0300 From: Peter Pentchev To: User & Cc: 3d@freebsd.org, ports@freebsd.org Subject: Re: FreeBSD Port: linux_glx-991127 Message-ID: <20010702113202.C10345@ringworld.oblivion.bg> Mail-Followup-To: User & , 3d@freebsd.org, ports@freebsd.org References: <01070100184901.30415@guenni.private.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01070100184901.30415@guenni.private.de>; from guenni@guenni.private.de on Sun, Jul 01, 2001 at 12:22:01AM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jul 01, 2001 at 12:22:01AM +0200, User & wrote: > Hi all, > > I'm running FreeBSD 4.3 STABLE and XFree86 4.1.0 with DRI working according > to glxinfo. (What a pain that was). Have installed Quake III Arena in > /usr/compat/linux/usr/local/games/quake3. > > According to FreeBSD Handbook, Linux Binary Compatability, a Linux Binary > will search for libs in /usr/compat/linux/LD_PATH first and then in FreeBSD > root/LD_PATH for shared libs. (Quake 3 Linux Binary looks for libGL.so). > > In order to get Hardware Acceleration of my ATI Rage Pro I want Quake 3 to > find the FreeBSD native libGL.so which it actually does. > > Unfortunately another problem occurs: ELF file OS ABI invalid. > > From what I've read in the FreeBSD Handbook / Linux Binary Compatablity / > Advanced Topics section the Linux Binary should do just fine with FreeBSD > native shared libs. > > What am I missing? man 1 brandelf Find the file that has an ELF type brand of 0 (unspecified, the default for much too many binaries compiled on Linux), and run brandelf -t Linux on it. G'luck, Peter -- If this sentence didn't exist, somebody would have invented it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message