On Tue, 31 Jan 2012 23:25:37 +0100 Florian Philipp <li...@binarywings.net> wrote:
> Am 31.01.2012 18:15, schrieb Helmut Jarausch: > > Hi, > > > > from time to time I need to boot in 'single' mode. > > I'd like to use the nano editor in this case. > > But unfortunately it doesn't run since it cannot resolve the > > dynamic library libmagic.so.1 > > > > How can I build a static version of nano? > > > > Many thanks for a hint, > > Helmut. > > That must be a use flag issue: > > ldd `which nano` > linux-vdso.so.1 => (0x00007fffde9ff000) > libncursesw.so.5 => /lib64/libncursesw.so.5 > (0x00007f47f3b64000) libc.so.6 => /lib64/libc.so.6 > (0x00007f47f37be000) libdl.so.2 => /lib64/libdl.so.2 > (0x00007f47f35ba000) /lib64/ld-linux-x86-64.so.2 (0x00007f47f3dc5000) > > USE="ncurses nls unicode -debug -justify -minimal -slang -spell" libmagic is used by >=app-editors/nano-2.3.0