Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: plugin-containers missing libraries
Date: Wed, 27 May 2015 22:23:31
Message-Id: BLU436-SMTP255796F46E80A0EDB5DA46C8DCB0@phx.gbl
In Reply to: Re: [gentoo-user] Re: plugin-containers missing libraries by Adam Carter
1 On Wednesday, May 27, 2015 04:20:52 PM Adam Carter wrote:
2 > On Wed, May 27, 2015 at 4:03 PM, Franz Fellner <alpine.art.de@×××××.com>
3 >
4 > wrote:
5 > > Adam Carter wrote:
6 > > > On Wed, May 27, 2015 at 3:24 PM, Franz Fellner <alpine.art.de@×××××.com>
7 > > >
8 > > > wrote:
9 > > > > "Look at" usually means "Read the file" - look at the content ;)
10 > > >
11 > > > Lets pretend for one minute that i'm a dumbass. In what way would I read
12 > >
13 > > a
14 > >
15 > > > binary executable, and how is that relevant to plugin-container?
16 > >
17 > > Just have a look and don't pretend it's a binary file ;)
18 > >
19 > > $ cat /usr/bin/firefox-bin
20 > > #!/bin/sh
21 > > unset LD_PRELOAD
22 > > LD_LIBRARY_PATH="/opt/firefox/"
23 > > GTK_PATH=/usr/lib/gtk-2.0/
24 > > exec /opt/firefox/firefox "$@"
25 >
26 > There's no firefox-bin in /usr/bin on my system, there's just
27 > # ls -l /usr/bin/firefox*
28 > lrwxrwxrwx 1 root root 26 May 9 19:13 /usr/bin/firefox ->
29 > /usr/lib64/firefox/firefox
30 >
31 > And in that directory, again no shell script;
32 > # file /usr/lib64/firefox/firefox-bin
33 > /usr/lib64/firefox/firefox-bin: ELF 64-bit LSB executable, x86-64, version
34 > 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for
35 > GNU/Linux 2.6.32, stripped
36 >
37 > System is ~amd64 for firefox/thunderbird
38
39 I'm also using ~amd64 firefox (37.0.2) and mine is also a binary. Anyways, what
40 this means is that the library is not loaded by the loader but by firefox at
41 runtime so it's nothing to worry about. I guess some versions or build use a
42 script to preload the library.

Replies

Subject Author
Re: [gentoo-user] Re: plugin-containers missing libraries Adam Carter <adamcarter3@×××××.com>