1 |
Am 31.01.2012 18:15, schrieb Helmut Jarausch: |
2 |
> Hi, |
3 |
> |
4 |
> from time to time I need to boot in 'single' mode. |
5 |
> I'd like to use the nano editor in this case. |
6 |
> But unfortunately it doesn't run since it cannot resolve the dynamic |
7 |
> library libmagic.so.1 |
8 |
> |
9 |
> How can I build a static version of nano? |
10 |
> |
11 |
> Many thanks for a hint, |
12 |
> Helmut. |
13 |
> |
14 |
|
15 |
That must be a use flag issue: |
16 |
|
17 |
ldd `which nano` |
18 |
linux-vdso.so.1 => (0x00007fffde9ff000) |
19 |
libncursesw.so.5 => /lib64/libncursesw.so.5 (0x00007f47f3b64000) |
20 |
libc.so.6 => /lib64/libc.so.6 (0x00007f47f37be000) |
21 |
libdl.so.2 => /lib64/libdl.so.2 (0x00007f47f35ba000) |
22 |
/lib64/ld-linux-x86-64.so.2 (0x00007f47f3dc5000) |
23 |
|
24 |
USE="ncurses nls unicode -debug -justify -minimal -slang -spell" |