From 35b625cf006c038519a8b57b8b5029db8a343777 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Mon, 4 Mar 2002 21:19:37 +0000 Subject: better explanation for the *.so symlinks in /usr/lib git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1660 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/ncurses-exp.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'chapter06') diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml index 03eb49b11..963e34aa2 100644 --- a/chapter06/ncurses-exp.xml +++ b/chapter06/ncurses-exp.xml @@ -21,9 +21,10 @@ programs try to link using -lcurses instead of -lncurses. This symlink ensures that such programs will link without errors. ln -sf ../../lib/libncurses.so etc: These -symlinks are created so the linker will use the dynamic versions of these -libraries instead of the static ones, which happens if the linker can't -find the dynamic versions. +symlinks are created to tidy up the installation. It's good practise to +have the *.so files in /usr/lib as well as in /lib, to ensure that the +linker is always able to find the files whether it's looking in /lib or +/usr/lib. -- cgit v1.2.3-54-g00ecf