From owner-freebsd-questions Thu Nov 1 15:46:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from uce55.uchaswv.edu (uce55.uchaswv.edu [12.4.161.9]) by hub.freebsd.org (Postfix) with ESMTP id CA78437B407 for ; Thu, 1 Nov 2001 15:46:24 -0800 (PST) Received: from cheech.uchaswv.edu (cheech.uchaswv.edu [172.16.0.7]) by uce55.uchaswv.edu (8.9.3 (PHNE_22672)/8.9.3) with SMTP id SAA19107; Thu, 1 Nov 2001 18:47:06 -0500 (EST) Date: Thu, 1 Nov 2001 18:49:41 -0500 From: Nathan Mace To: eanholt@gladstone.uoregon.edu, freebsd-questions Subject: Re: ELF file OS ABI invalid (was ld conf???) Message-Id: <20011101184941.4f85085d.mace_nathan@uchaswv.edu> In-Reply-To: <200111012016.fA1KGg326592@gladstone.uoregon.edu> References: <20011101114941.750bcef6.mace_nathan@uchaswv.edu> <200111012016.fA1KGg326592@gladstone.uoregon.edu> X-Mailer: Sylpheed version 0.6.2 (GTK+ 1.2.10; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG the libvga.so.1 came with freebsd 4.2 when i installed it from CD...i install the linux compatability stuff. the binary i am trying to run is the linux svga version of cps2mame.....cps2mame is not available as a bsd port...i wish it was....and i havn't upgraded the linux compat stuff since i installed 4.2....is there any trick to it or is it just like any other port?? nathan On Thu, 1 Nov 2001 11:14:36 -0800 eanholt@gladstone.uoregon.edu wrote: > So both libvga.so.1 and the program you are running are linux binaries > and > brandelfed as SVR4, right? Where did you get them from, and how did > you > install them? I had that error when making the linux-dri port. I was > using > ${INSTALL_PROGRAM} to install the shared libraries, but it stripped > them and > made them give me that error. Taking the ${STRIP} out of the > ${INSTALL} in > the port fixed it. > > On Thursday 01 November 2001 08:49, Nathan Mace wrote: > > it's a linux binary....i'm attached my > /usr/compat/linux/etc/ld.so.conf > > > > i'm not sure what i'm doing wrong....i added the path to the linux > libs > > to the linux ld.so.conf file, logged out and looged in again, even > > rebooted. still get the same error...an ideas? > > > > nathan > > > > On Thu, 1 Nov 2001 02:11:34 -0800 > > > > kris@obsecurity.org wrote: > > > On Thu, Nov 01, 2001 at 12:47:17AM -0500, Nathan Mace wrote: > > > > ok, i finally got part of the problem worked out..now i get this > > > > > > error: > > > > error in loading shared libraries: libvga.so.1: ELF file OS ABI > > > > > > invalid > > > > > > Is this a Linux or a FreeBSD binary you're trying to run? You > can't > > > mix and match library and binary format. > > > > > > Kris > > -- > Eric Anholt > eanholt@gladstone.uoregon.edu > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message