From owner-freebsd-questions@FreeBSD.ORG Fri Oct 20 20:26:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56C9116A40F for ; Fri, 20 Oct 2006 20:26:11 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9D9A43E30 for ; Fri, 20 Oct 2006 20:18:13 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.147]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k9KKHrtM097102 for ; Sat, 21 Oct 2006 00:18:03 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Gb0ni-0000Ni-Vy for freebsd-questions@freebsd.org; Sat, 21 Oct 2006 00:17:06 +0400 To: FreeBSD Questions References: <20061020141504.GD859@dell> From: Boris Samorodov Date: Sat, 21 Oct 2006 00:17:06 +0400 In-Reply-To: <20061020141504.GD859@dell> (William Bulley's message of "Fri, 20 Oct 2006 10:15:04 -0400") Message-ID: <56706957@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Subject: Re: problems with libglade2... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2006 20:26:11 -0000 On Fri, 20 Oct 2006 10:15:04 -0400 William Bulley wrote: > I am trying to run a Linux binary under FreeBSD Linux compatibility > mode (linux_base-fc-4_9) on 6.2-PRERELEASE. > The error I get is: > error while loading shared libraries: /usr/X11R6/lib/libglade-2.0.so.0: ELF file OS ABI invalid A FreeBSD library is found instead of a linux one. > freebsd% pkg_info | grep -i glade > libglade2-2.6.0 GNOME glade library Seems that you didn't install devel/linux-libglade port. > freebsd% ldd foobah > foobah: > foobah: error while loading shared libraries: /usr/X11R6/lib/libglade-2.0.so.0: ELF file OS ABI invalid > foobah: exit status 127 > freebsd% file foobah > foobah: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped > freebsd% file /usr/X11R6/lib/libglade-2.0.so.0 > /usr/X11R6/lib/libglade-2.0.so.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped > According to the "foobah" README: > Executable is tested to work with: > OS: Fedora Core 3, Suse 9.2 > Platform: i386, Athlon, i686 > What am I missing? What steps (short of tossing the whole idea out) > should I take to successfully run the Linux binary "foobah"? Thanks. I didn't find foobah at the ports tree. Are you porting it? If so, check out that all linux packages this program depends on are installed. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve