From owner-freebsd-emulation Mon Dec 4 2:26:49 2000 From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 4 02:26:47 2000 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from squeek.pdi.com (unknown [209.213.214.10]) by hub.freebsd.org (Postfix) with ESMTP id B790C37B400 for ; Mon, 4 Dec 2000 02:26:46 -0800 (PST) Received: (from mail@localhost) by squeek.pdi.com (8.10.2/8.8.8/PDI-RELAY) id eB45gp370283 for ; Sun, 3 Dec 2000 21:42:51 -0800 (PST) Received: from courier-1(0.0.0.0) by squeek via smap (V2.1) id xma070579; Sun, 3 Dec 00 21:42:25 -0800 Received: from kabuki.pdi.com (kabuki [10.11.3.144]) by courier.pdi.com (8.9.3/8.9.3/PDI-mailhub(internal)) with ESMTP id VAA207025; Sun, 3 Dec 2000 21:44:05 -0800 (PST) Received: (from mkirk@localhost) by kabuki.pdi.com (8.8.8/8.8.8) id VAA139855; Sun, 3 Dec 2000 21:44:05 -0800 (PST) Date: Sun, 3 Dec 2000 21:44:05 -0800 From: Mark Kirk 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i X-Files: The Truth is Out There Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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