Summary: | grub-0.97-r5 on amd64 with USE=static does not detect ncurses | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jory A. Pratt <anarchy> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
Jory A. Pratt
![]() jory: 1. please attach the config.log from the side that doesn't detect ncurses. 2. tell me if you have app-emulation/emul-linux-x86-baselibs installed. vapier: I know his CFLAGS are bogus, don't close this please. the flags shouldnt really affect capability detection. but only the config.log can tell us for sure. configure:5170: checking for wgetch in -lncurses configure:5205: x86_64-pc-linux-gnu-gcc -o conftest -m32 -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both -static conftest.c -lncurses >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../libncurses.a when searching for -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libncurses.a when searching for -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status Of course this is invalid as it is looking for a 32bit and not the 64bit. jory: I asked for the config.log file, not an extract thereof. 1. Please attach the entire file 2. Confirm that you have app-emulation/emul-linux-x86-baselibs installed (so that /lib32/libncurses.so.5.6 exists). Created attachment 149067 [details]
config.log
Yes I have the emulation package installed.
jory: also please attach your /etc/ld.so.conf jory: Please try: USE=-static emerge grub this is how it works. we provide the shared libraries for your convenience for multilib, but if you want to build a static 32bit on an amd64 system, then you'll need to provide for that yourself. (In reply to comment #7) > jory: > Please try: > USE=-static emerge grub > That will work just fine Robin. Thank you |