problems with libglade2...

2006-10-20 Thread William Bulley
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

freebsd% pkg_info | grep -i glade
libglade2-2.6.0 GNOME glade library
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.

Regards,

web...

--
William Bulley Email: [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with libglade2...

2006-10-20 Thread Boris Samorodov
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]