On 1/23/07, Darcy Roberts <[EMAIL PROTECTED]> wrote: > > 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 > files > collect2: ld returned 1 exit status > make: ** [top] Error 1 > > Links: > /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
The problem is that it's trying to link to libncurses.so. To work around some issues with ldconfig, this is created as a linker script. The contents should just be INPUT(-lncursesw) Make sure you've got all the ncurses libraries worked out before moving on. If the commands are giving you trouble, stop and ask. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
