Bryan Kadzban wrote:
Chris Staub wrote:
The Chapter 6 ncurses instructions in the LFS dev book have this
construction:
for lib in curses ncurses form panel menu ; do \
rm -vf /usr/lib/lib${lib}.so ; \
echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so ; \
ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a ; \
done
That "rm /usr/lib/lib..." line is not needed. If any of those files
exist, they will be replaced on the next command (echo "INPUT"...) anyway.
This is NOT safe if either of those library files are currently linked
into any process that's running!
They are not used. Certainly :)
The used file may be /lib/libncursesw.so.5 (which is a symlink pointing
to 5.5). The (completely different) file affected by "echo" is
/usr/lib/libncurses.so (note: this is not a symlink), which is used only
by /usr/bin/ld while building packages.
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page