1 |
Le lun. 21 janv. 2019 à 15:37, Alexander Kapshuk < |
2 |
alexander.kapshuk@×××××.com> a écrit : |
3 |
|
4 |
> |
5 |
> (1). Are you attempting to build bash as yourself or as user root? |
6 |
> (2). If the latter, what's in LD_PRELOAD and LD_LIBRARY_PATH? |
7 |
> |
8 |
> (3). What's the output of: |
9 |
> ls -l /path/to/libsandbox.so? |
10 |
> (4). And: |
11 |
> file /path/to/libsandbox.so |
12 |
> |
13 |
> |
14 |
(1) I always build bash as user root (su then password) |
15 |
(2) there's no output with echo $LD_PRELOAD or $LD_LIBRARY_PATH |
16 |
(3) libsandbox.so is located in /usr/lib32 and /usr/lib64 |
17 |
ls -al /usr/lib32/libsandbox.so |
18 |
-rwxr-xr-x 1 root root 91720 19 janv. 19:14 /usr/lib32/libsandbox.so* |
19 |
ls -al /usr/lib64/libsandbox.so |
20 |
-rwxr-xr-x 1 root root 84520 19 janv. 19:14 /usr/lib64/libsandbox.so* |
21 |
|
22 |
file /usr/lib32/libsandbox.so |
23 |
/usr/lib32/libsandbox.so: ELF 32-bit LSB pie executable, Intel 80386, |
24 |
version 1 (SYSV), dynamically linked, stripped |
25 |
file /usr/lib64/libsandbox.so |
26 |
/usr/lib64/libsandbox.so: ELF 64-bit LSB pie executable, x86-64, version 1 |
27 |
(SYSV), dynamically linked, stripped |
28 |
|
29 |
----------------------- |
30 |
|
31 |
BUT, i think the error is NOT libsandbox related. |
32 |
As i said in a previous post, i could successfully emerge bash with a live |
33 |
SystemRescuecd. |
34 |
Here is the log (attached file) : |
35 |
We could see the same error many times (>10) : |
36 |
|
37 |
..... snip |
38 |
checking whether /dev/fd is available... ERROR: ld.so: object |
39 |
'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared |
40 |
object file): ignored. |
41 |
|
42 |
We trust you have received the usual lecture from the local System |
43 |
Administrator. It usually boils down to these three things: |
44 |
|
45 |
#1) Respect the privacy of others. |
46 |
#2) Think before you type. |
47 |
#3) With great power comes great responsibility. |
48 |
|
49 |
sudo: no tty present and no askpass program specified |
50 |
|
51 |
.....snip |
52 |
|
53 |
Now the difference is : sudo: no tty present and no askpass program |
54 |
specified |
55 |
|
56 |
Does that mean that the problem comes from sudo (see the attached sudoers |
57 |
file )? |
58 |
|
59 |
Thanks again, |
60 |
|
61 |
-- |
62 |
Jacques |