Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2006 10:41:00 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@FreeBSD.org, bin wan <wanbin198010@gmail.com>
Subject:   Re: a problem about linux-firefox
Message-ID:  <20061024104100.f20wkx40o4c8g4wg@webmail.leidinger.net>
In-Reply-To: <13785405@bsam.ru>
References:  <46a9be130610220136n4d9cc95dj7ddb2000aef7876b@mail.gmail.com> <35247993@bsam.ru> <46a9be130610230601s7286b22axe9460e9ccaf1e736@mail.gmail.com> <13785405@bsam.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Boris Samorodov <bsam@ipt.ru> (from Tue, 24 Oct 2006 00:38:26 +0400)=
:

> I'll keep CC: freebsd-emulation@ for archieves.
>
> On Mon, 23 Oct 2006 21:01:59 +0800 bin wan wrote:

>> 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 =3D> not found
>>        libxpcom.so =3D> not found
>>        libxpcom_core.so =3D> not found
>>        libplds4.so =3D> not found
>>        libplc4.so =3D> not found
>>        libnspr4.so =3D> 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)...

Most of those libs are firefox/mozilla/... internal libs. If you have =20
a look at this output fot the native firefox, you will see something =20
similar. The firefox (without -bin) script takes care of adding the =20
directory where those libs can be found to the search path for the =20
invocation of the firefox-bin binary.

>>        libpthread.so.0 =3D> /lib/obsolete/linuxthreads/libpthread.so.0
>> (0x289b9000)
>>        libdl.so.2 =3D> /lib/libdl.so.2 (0x28a0c000)
>>        libgtk-x11-2.0.so.0 =3D> /usr/lib/libgtk-x11-2.0.so.0 (0x28a10000)
>>        libgdk-x11-2.0.so.0 =3D> /usr/lib/libgdk-x11-2.0.so.0 (0x28d07000)
>>        libgdk_pixbuf-2.0.so.0 =3D> /usr/lib/libgdk_pixbuf-2.0.so.0(0x28da=
2000)
>>        libpangoxft-1.0.so.0 =3D> /usr/lib/libpangoxft-1.0.so.0 (0x28db900=
0)
>>        libpangox-1.0.so.0 =3D> /usr/lib/libpangox-1.0.so.0 (0x28dbf000)
>>        libpango-1.0.so.0 =3D> /usr/lib/libpango-1.0.so.0 (0x28dca000)
>>        libgobject-2.0.so.0 =3D> /usr/lib/libgobject-2.0.so.0 (0x28e00000)
>>        libgmodule-2.0.so.0 =3D> /usr/lib/libgmodule-2.0.so.0 (0x28e3c000)
>>        libglib-2.0.so.0 =3D> /usr/lib/libglib-2.0.so.0 (0x28e40000)
>>        libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x28eca000)
>>        libm.so.6 =3D> /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".

Right.

Bye,
Alexander.

--=20
It's hard to drive at the limit, but
it's harder to know where the limits are.
=09=09-- Stirling Moss

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061024104100.f20wkx40o4c8g4wg>