Date: Tue, 07 Apr 2009 13:28:22 -0400 From: David Banning <david+dated+1239557310.086b03@skytracker.ca> To: Boris Samorodov <bsam@ipt.ru> Cc: David Banning <david+dated+1239553110.eb108f@skytracker.ca>, questions@freebsd.org Subject: Re: libc.so.6: ELF file OS ABI invalid Message-ID: <49DB8D36.7040605@skytracker.ca> In-Reply-To: <46603826@bb.ipt.ru> References: <20090407161830.GA92526@skytracker.ca> <46603826@bb.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Boris Samorodov wrote: > On Tue, 7 Apr 2009 12:18:30 -0400 David Banning wrote: > > >> I get this error when I attempt to run acroread8; >> > > >> /compat/linux/bin/sh: error while loading shared libraries: /usr/local/lib/libc.so.6: ELF file OS ABI invalid >> > > >> I get the impression maybe acroread is attempting run a linux binary >> using a freebsd library - but I am not sure if this is so, or how to fix >> it. Any pointers would be appreciated. >> > > If you install it from ports/packages that definitely shouldn't happen. > Do you have some non-default environment like LD_LIBRARY_PATH? > You may use ktrace/kdump to diagnose the problem. > ktrace/kdump appear to show an attempted access of libc.so.6 first from /usr/lib and then from /usr/lib/compat as well as some other lib directories. There is not such a file in any of those directories. I have attempted to run ldconfig -R to rescan the directory and rebuild the hints file, but I am going astray here... the linux version of libc.so.6 -is- located in /usr/compat/linux/lib where is does not appear to look.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49DB8D36.7040605>