From owner-freebsd-questions Wed Oct 31 21:51:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by hub.freebsd.org (Postfix) with ESMTP id DA18C37B403 for ; Wed, 31 Oct 2001 21:51:39 -0800 (PST) Received: from xena.gsicomp.on.ca ([216.209.81.232]) by tomts11-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011101055138.INWM20606.tomts11-srv.bellnexxia.net@xena.gsicomp.on.ca>; Thu, 1 Nov 2001 00:51:38 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.1) with SMTP id fA15hPW66756; Thu, 1 Nov 2001 00:43:25 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <013f01c16299$459ba0b0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Nathan Mace" , "freebsd-questions" References: <010b01c1628e$8f24b470$1200a8c0@gsicomp.on.ca> <20011101004717.5d22c117.mace_nathan@uchaswv.edu> Subject: Re: ELF file OS ABI invalid (was ld conf???) Date: Thu, 1 Nov 2001 00:51:36 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 I assumed that it was a FreeBSD program looking fo libvga.so.1. However, it looks like it's a Linux program that is looking for it. In base-6.1, libvga.so.1 is in /usr/compat/linux/usr/i486-linux-libc5/lib/libvga.so.1. You'll have to run the Linux ldconfig on that directory to refresh the Linux shared library cache. (/usr/compat/linux/sbin/ldconfig -m /usr/compat/linux/usr/i486-linux-libc5/lib) You can't make a Linux program use FreeBSD shared libraries, or vice versa. Matt > 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 > > i'm running linux_base-6.1 if that makes a difference....what do i do > now? > > nathan > > On Wed, 31 Oct 2001 23:34:55 -0500 > matt@gsicomp.on.ca wrote: > > > > > Run 'ldconfig -m /usr/local/lib'. This will add the libraries in > > /usr/local/lib to the library cache (or whatever the technical term > > for it > > is.) > > > > ----- Original Message ----- > > From: "Nathan Mace" > > To: "freebsd-questions" > > Sent: Wednesday, October 31, 2001 11:10 PM > > Subject: Re: ld conf??? > > > > > > > yes i did...it didn't help...no what? > > > > > > nathan > > > > > > On Thu, 1 Nov 2001 12:00:15 +0800 > > > llchan@apis.dhl.com wrote: > > > > > > > Hi, > > > > > > > > Have you include /usr/local/lib into your PATH ??? > > > > > > > > Regards, > > > > Ling Ling > > > > > > > > Nathan Mace wrote: > > > > > > > > > when i try to run an svga app it crashes saying that it can't > > find > > > > > libvga.so.1...but there is a libsvga.so.1 it's in /usr/local/lib > > > > how do > > > > > i make apps see libs in that directory? linux had a ld.conf > > > > file...but > > > > > i can't find one in bsd...can someone help me out? thanks > > > > > > > > > > nathan > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message