From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 19 15:03:56 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A93106564A for ; Sat, 19 Apr 2008 15:03:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7028FC25 for ; Sat, 19 Apr 2008 15:03:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1JnEbb-000L1j-CZ; Sat, 19 Apr 2008 19:03:55 +0400 To: Armin Pirkovitsch References: <480921B2.6030004@inode.at> From: Boris Samorodov Date: Sat, 19 Apr 2008 19:03:56 +0400 In-Reply-To: <480921B2.6030004@inode.at> (Armin Pirkovitsch's message of "Sat\, 19 Apr 2008 00\:33\:22 +0200") Message-ID: <40533363@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emulation@freebsd.org Subject: Re: googleearth & skype trouble X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2008 15:03:57 -0000 On Sat, 19 Apr 2008 00:33:22 +0200 Armin Pirkovitsch wrote: > There seems to be a problem with some linux applications eg. > googleearth and skype. > When I try to start them I get: > : error while loading shared libraries: /usr/lib/librt.so.1: > ELF file OS ABI invalid > My system: > FreeBSD oh-sub1.local 8.0-CURRENT FreeBSD 8.0-CURRENT #10: Fri Dec 14 > 14:36:15 CET 2007 sperber@oh-sub1.local:/usr/obj/usr/src/sys/OH-SUB1 > i386 > [sperber@oh-sub1] ~> sysctl -a |grep linux > hw.snd.compat_linux_mmap: 0 > compat.linux.oss_version: 198144 > compat.linux.osrelease: 2.4.2 > compat.linux.osname: Linux > [sperber@oh-sub1] ~> ls /var/db/pkg/ |grep linux > linux-atk-1.9.1 > linux-cairo-1.0.2 > linux-expat-1.95.8 > linux-fontconfig-2.2.3_7 > linux-glib2-2.6.6 > linux-gtk2-2.6.10 > linux-jpeg-6b.34 > linux-libGLU-6.8.2 > linux-libsigc-2.0.17 > linux-nwnclient-1.68 > linux-pango-1.10.2 > linux-png-1.2.8_2 > linux-sdl-1.2.10,1 > linux-tiff-3.7.1 > linux-xorg-libs-6.8.2_5 > linux_base-fc-4_11 > linux_kdump-1.5_2 > kdumps of skype & googleearth: > http://pastebin.com/m73adc53b > http://pastebin.com/m13cd2e75 > skype-1.4.0.118_3,1 > google-earth-4.3.7191.6508 (new version provided by the maintainer) > Any idea what could be wrong to cause that problem? >From your kdump: ----- 98302 googleearth-bin NAMI "/compat/linux/lib/librt.so.1" 98302 googleearth-bin NAMI "/compat/linux" 98302 googleearth-bin NAMI "/compat/linux/lib/librt.so.1" 98302 googleearth-bin RET linux_open 3 98302 googleearth-bin CALL read(0x3,0xbfbfd92c,0x200) 98302 googleearth-bin GIO fd 3 read 512 bytes [...] 98302 googleearth-bin RET read 512/0x200 98302 googleearth-bin CALL close(0x3) 98302 googleearth-bin RET close 0 98302 googleearth-bin CALL linux_open(0xbfbfd800,0,0x4805d5ab) 98302 googleearth-bin NAMI "/compat/linux/usr/lib/tls/librt.so.1" 98302 googleearth-bin NAMI "/usr/lib/tls/librt.so.1" 98302 googleearth-bin RET linux_open JUSTRETURN 98302 googleearth-bin CALL linux_open(0xbfbfd800,0,0x4805d5ab) 98302 googleearth-bin NAMI "/compat/linux/usr/lib/librt.so.1" 98302 googleearth-bin NAMI "/usr/lib/librt.so.1" 98302 googleearth-bin RET linux_open 3 98302 googleearth-bin CALL read(0x3,0xbfbfd92c,0x200) 98302 googleearth-bin GIO fd 3 read 512 bytes [...] ----- The linux library is found but not used. And then the native FreeBSD one is got tried, hence the error occures. Sorry, but that seems to be a symptom of linux.osrelease=2.6.16 requirement for those applications to run. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve