Date: Tue, 24 Oct 2006 00:38:26 +0400 From: Boris Samorodov <bsam@ipt.ru> To: "bin wan" <wanbin198010@gmail.com> Cc: freebsd-emulation@FreeBSD.org Subject: Re: a problem about linux-firefox Message-ID: <13785405@bsam.ru> In-Reply-To: <46a9be130610230601s7286b22axe9460e9ccaf1e736@mail.gmail.com> (bin wan's message of "Mon, 23 Oct 2006 21:01:59 %2B0800") References: <46a9be130610220136n4d9cc95dj7ddb2000aef7876b@mail.gmail.com> <35247993@bsam.ru> <46a9be130610230601s7286b22axe9460e9ccaf1e736@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsam@ipt.ru>: > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13785405>