Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2006 00:17:06 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: problems with libglade2...
Message-ID:  <56706957@bsam.ru>
In-Reply-To: <20061020141504.GD859@dell> (William Bulley's message of "Fri, 20 Oct 2006 10:15:04 -0400")
References:  <20061020141504.GD859@dell>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56706957>