From a326b1d77c3bb9f9f6368c4d0c0346e03aa76ff9 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 13 Dec 2013 20:04:46 +0000 Subject: Fix kmod, procps-ng, zlib, readline, ncurses, and xz methods of establishing correct symbolic links for libraries. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10391 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/ncurses.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter06/ncurses.xml') diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 6f9cc3792..df362d4bd 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -110,7 +110,7 @@ Because the libraries have been moved, one symlink points to a non-existent file. Recreate it: -ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so +ln -sfv ../../lib/$(readlink /usr/lib/libncursesw.so) /usr/lib/libncursesw.so Many applications still expect the linker to be able to find non-wide-character Ncurses libraries. Trick such applications into linking with -- cgit v1.2.3-54-g00ecf