Pierre Labastie wrote: > Le 21/04/2014 17:50, TheOldFellow a écrit : >> Linux From Scratch - Version SVN-20140418 >> >> Everything fine, including installation of xz, but kmod-17 clearly isn't >> happy with the layout of the libs for xz. >> >> root:/sources/kmod-17# make >> make --no-print-directory all-recursive >> Making all in . >> CC libkmod/libkmod.lo >> CC libkmod/libkmod-list.lo >> CC libkmod/libkmod-config.lo >> CC libkmod/libkmod-index.lo >> CC libkmod/libkmod-module.lo >> CC libkmod/libkmod-file.lo >> CC libkmod/libkmod-elf.lo >> CC libkmod/libkmod-signature.lo >> CC libkmod/libkmod-hash.lo >> CC libkmod/libkmod-array.lo >> CC libkmod/libkmod-util.lo >> CCLD libkmod/libkmod-util.la >> CCLD libkmod/libkmod.la >> /usr/lib/liblzma.so: file not recognized: Is a directory >> collect2: error: ld returned 1 exit status >> Makefile:1211: recipe for target 'libkmod/libkmod.la' failed >> make[2]: *** [libkmod/libkmod.la] Error 1 >> Makefile:1803: recipe for target 'all-recursive' failed >> make[1]: *** [all-recursive] Error 1 >> Makefile:1030: recipe for target 'all' failed >> make: *** [all] Error 2 >> >> I've probably done something wrong:( >> >> Richard. >> > what does "ls -l /usr/lib/lilzma.so" return ? (should be a link to > ../lib/liblzma.so.xxx, where xxx is the version number). If it is not a link > or a link to something which is not a library, you'd better go back to the > last line of Xz installation. > > Regards > Pierre
Indeed this is where the problem lies. ls -l /usr/lib/liblzma.so lrwxrwxrwx 1 root root 10 Apr 21 16:19 /usr/lib/liblzma.so -> ../../lib/ However the real problem is in the last line of the xz installation, as you rightly say, because: $(readlink /usr/lib/liblzma.so) returns ../../lib/ but it is bash-script that is beyond me. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page