From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 23 20:39:40 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08A2B16A403 for ; Mon, 23 Oct 2006 20:39:40 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C39043D45 for ; Mon, 23 Oct 2006 20:39:38 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.147]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k9NKdIa3076951; Tue, 24 Oct 2006 00:39:28 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Gc6Z0-0001xL-Hu; Tue, 24 Oct 2006 00:38:26 +0400 To: "bin wan" References: <46a9be130610220136n4d9cc95dj7ddb2000aef7876b@mail.gmail.com> <35247993@bsam.ru> <46a9be130610230601s7286b22axe9460e9ccaf1e736@mail.gmail.com> From: Boris Samorodov Date: Tue, 24 Oct 2006 00:38:26 +0400 In-Reply-To: <46a9be130610230601s7286b22axe9460e9ccaf1e736@mail.gmail.com> (bin wan's message of "Mon, 23 Oct 2006 21:01:59 +0800") Message-ID: <13785405@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: freebsd-emulation@FreeBSD.org Subject: Re: a problem about linux-firefox 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: Mon, 23 Oct 2006 20:39:40 -0000 I'll keep CC: freebsd-emulation@ for archieves. On Mon, 23 Oct 2006 21:01:59 +0800 bin wan wrote: > 2006/10/23, Boris Samorodov : > > On Sun, 22 Oct 2006 16:36:40 +0800 bin wan wrote: > > > > > wan# linux-firefox > > > /usr/local/lib/linux-firefox/firefox-bin: error while loading shared > > > libraries: /usr/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid > > > > You may consider reading /usr/ports/UPDATING "20060616: AFFECTS users > > of emulation/linux_base-*" for tips on upgrading/using linux_base > > port. > I really appricate your help. After I have read /usr/ports/UPDATING file, I > found on better solution exception deinstall every linux port,remove > /compat/linux,and reinstall every need. OK. Thanks for your feedback. Those advices were born from our and other users experience. Glad to know they helped you. > when I did it, no error display and linux-firfox and flash player is good. > But I still have a doubt. > wan# ldd /usr/local//lib/linux-firefox/firefox-bin > /usr/local//lib/linux-firefox/firefox-bin: > libmozjs.so => not found > libxpcom.so => not found > libxpcom_core.so => not found > libplds4.so => not found > libplc4.so => not found > libnspr4.so => not found Those libraries are not needed to run linux-firefox at minimal configuration. And we (linux freebsd-emulation@ team) try to keep linux_base port as minimal as it can be (and not to spam disks of all potential users of linux_base port)... > libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 > (0x289b9000) > libdl.so.2 => /lib/libdl.so.2 (0x28a0c000) > libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x28a10000) > libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x28d07000) > libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0(0x28da2000) > libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x28db9000) > libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x28dbf000) > libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x28dca000) > libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x28e00000) > libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x28e3c000) > libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x28e40000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28eca000) > libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x28f9d000) > Why libmozjs.so refers to "not found"? and Why none of library refers to > /compat/linux directory?? ...and those libraries listed here are really at /usr/compat directory. Just native FreeBSD ldd doen't show those path. I'd say that it's how our current linuxulator works: it looks at /compat/linux directory first and then reports the found filename upwards without prefix "/compat/linux". WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve