Date: Thu, 1 Nov 2001 00:51:36 -0500 From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: "Nathan Mace" <mace_nathan@uchaswv.edu>, "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: ELF file OS ABI invalid (was ld conf???) Message-ID: <013f01c16299$459ba0b0$1200a8c0@gsicomp.on.ca> References: <010b01c1628e$8f24b470$1200a8c0@gsicomp.on.ca> <20011101004717.5d22c117.mace_nathan@uchaswv.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <mace_nathan@uchaswv.edu> > > To: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013f01c16299$459ba0b0$1200a8c0>