LFS 6.2 CH 6.19 procps won't compile

Darcy Roberts darcy_ro at msn.com
Tue Jan 23 15:24:53 PST 2007

6.18 ncurses installed ok with some effort, 6.20 sed installs/checks fine
too. Lots of problems getting the links ok.

But procps-3.2.6 bails out immediately with:

 cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls
-Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -O2 -s top.o proc/libproc-3.2.6.so
-Wl,-warn-common -o top -lncurses
 /usr/bin/ld: cannot open linker script file
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libncursesw.so: too many open
 collect2: ld returned 1 exit status
 make: ** [top] Error 1

/usr/lib/libcurses.a -> libncurses.a
/usr/lib/libcurses.so -> libncurses.so
/usr/lib/libcursesw.a -> libncursesw.a
/usr/lib/libncurses++.a -> libncurses++w.a
/usr/lib/libncurses.a -> libncursesw.a
/usr/lib/libncursesw.so -> ../../lib/libncursesw.so.5

Both libcursesw.so and libncurses.so look ok to me.

Have I still messed up the ncurses links? Which one?

Darcy Roberts
 darcy_ro at msn.com

More information about the lfs-support mailing list