Date: Sun, 3 Dec 2000 21:44:05 -0800 From: Mark Kirk <mkirk@pdi.com> To: freebsd-emulation@freebsd.org Subject: help on linux_base6.1: libtermcap.so.2: ELF file ABI version invalid. Message-ID: <20001203214404.A143819@pdi.com>
next in thread | raw e-mail | index | archive | help
I'm attempting to get linux_base6.1 working correctly, but with both the Linux
realplayer and vmware I get errors related to libtermcap. I've spent a number
of hours searching the website/mail archives to no avail, so I'm hoping
someone here will be able to help.
I am running 4.2-RELEASE for i386. My ports tree is about 3 days old. Note
that my system has been upgraded from 3.2 to 3.4 to 4.2 from source.
When I first installed linux_base6.1, the install would break when running rpm
on libtermcap2.0.8 (i.e. rpm would say it couldn't execute the script).
However, I did a "make deinstall"/"make reinstall" and it then installed
cleanly (pretty mysterious and I haven't been able to determine the problem).
However, when I try to run vmware, the config wizard pops up a dialog that
says:
Unexpected output from the Wizard:
sh: error in loading shared libraries: libtermcap.so.2
Similarly, when I try to run the Linux realplayer:
[akemi] /home/mkirk> realplay
sh: error in loading shared libraries: libtermcap.so.2: ELF file ABI version invalid.
/bin/sh: error in loading shared libraries: libtermcap.so.2: ELF file ABI
version invalid.
Now, I notice that most of the libraries and binaries in /compat/linux are
branded as SVR4 (I expected them to be branded Linux). Also, vmware and
realplayer binaries are branded SVR4 as well.
[akemi] /compat/linux/lib> brandelf *
File 'ld-2.1.2.so' is of brand 'SVR4' (0).
File 'ld-linux.so.1' is of brand 'SVR4' (0).
File 'ld-linux.so.1.9.5' is of brand 'SVR4' (0).
[ and so on... ]
I can verify that many or all of the Linux binaries do work:
[akemi] /compat/linux/bin> brandelf uname
File 'uname' is of brand 'SVR4' (0).
[akemi] /compat/linux/bin> ./uname -a
Linux akemi 2.2.12 FreeBSD 4.2-RELEASE #0: Wed Nov 29 19:36:42 PST 2000
mkirk@a i386 unknown
Here's the modules loaded:
[akemi] /compat/linux/bin> kldstat
Id Refs Address Size Name
1 7 0xc0100000 2f3bd8 kernel
2 1 0xc0eea000 6000 linprocfs.ko
3 1 0xc0ef7000 a000 ntfs.ko
4 3 0xc0f48000 11000 linux.ko
5 1 0xc0f6e000 2000 rtc.ko
6 1 0xc0f73000 9000 vmmon_smp.ko
7 1 0xc0f8c000 4000 if_tap.ko
I've tried adding /compat/linux/lib to my LD_LIBRARY_PATH with no effect.
I've also tried branding /compat/linux/lib/* to type Linux, which broke things
such that I couldn't run any linux binaries (even those I branded to Linux).
Any help *greatly* appreciated. I really need to be able to run vmware (and
other Linux binaries). I never thought I'd hear myself say this, but I am
almost frustrated enough to consider giving in and switching to Linux. I
don't want it to come to that ;)
Feel free to reply to me directly if you would like.
kind thanks,
mark
_________________________________________________________________________
Mark Kirk
Pacific Data Images
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001203214404.A143819>
