diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-07 22:36:41 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-07 22:36:41 +0000 |
commit | 4ea67ff8236c6298df59c27dde745fd7a51ddeb1 (patch) | |
tree | 61731d22ddbec4b1d2b2286216ac38aa3178481b /chapter06/xz.xml | |
parent | 1d8c944f01fe8a8904075bb2a542ba0bbd799b54 (diff) |
Fix location of binaries and libraries for kmod and xz.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10382 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/xz.xml')
-rw-r--r-- | chapter06/xz.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chapter06/xz.xml b/chapter06/xz.xml index dd927d179..a44bd10cd 100644 --- a/chapter06/xz.xml +++ b/chapter06/xz.xml @@ -46,7 +46,9 @@ <para>Prepare Xz for compilation with:</para> -<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr \ + --bindir=/bin \ + --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen> <para>Compile the package:</para> @@ -56,9 +58,12 @@ <screen><userinput remap="test">make check</userinput></screen> - <para>Install the package:</para> + <para>Install the package and make sure that all libraries are in the + correct directory:</para> -<screen><userinput remap="install">make pkgconfigdir=/usr/lib/pkgconfig install</userinput></screen> +<screen><userinput remap="install">make install +mv -v /usr/lib/liblzma.so.* /lib +ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so</userinput></screen> </sect2> |