Armin K. wrote: > On 13.12.2013 21:04, bdu...@higgs.linuxfromscratch.org wrote: >> Author: bdubbs >> Date: Fri Dec 13 12:04:46 2013 >> New Revision: 10391 >> >> Log: >> Fix kmod, procps-ng, zlib, readline, ncurses, >> and xz methods of establishing correct symbolic links >> for libraries.
>> Modified: trunk/BOOK/chapter06/kmod.xml >> ============================================================================== >> --- trunk/BOOK/chapter06/kmod.xml Thu Dec 12 22:55:02 2013 (r10390) >> +++ trunk/BOOK/chapter06/kmod.xml Fri Dec 13 12:04:46 2013 (r10391) >> @@ -95,10 +95,7 @@ >> <para> Make sure that all libraries are in the correct directory: >> </para> >> >> <screen><userinput remap="install">mv -v /usr/lib/libkmod.so.* /lib >> -ln -svf ../../lib/libkmod.so.2.2.5 /usr/lib/libkmod.so</userinput></screen> >> - >> -<!-- Note to editors: When upgrading kmod, make sure the library version >> - specified above has not changed --> >> +ln -svf ../../lib/$(readlink /usr/lib/libkmod.so) >> /usr/lib/libkmod.so</userinput></screen> >> > > Can you please tell me what is wrong with --with-rootlibdir approach? It > does *exactly* the same thing as is done here, no need for the extra work. I wasn't aware of that option. I did a test build and it indeed seem to do the right thing. I'll change it. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page