Ticket #3443 points out that xz puts liblzma.{a,la} into /lib.  In 
looking at this, I notice that we put the binaries in /usr/bin.

Changing the configure to use only --prefix=/usr 
--docdir=/usr/share/doc/xz-5.0.5 puts everything in /usr.  What I'm 
think of doing is:

./configure --prefix=/usr \
             --bindir=/bin \
             --docdir=/usr/share/doc/xz-&xz-version;
make
make check
make install
mv -v /usr/lib/liblzma.so.* /lib
ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so

This puts 23 entries into /bin, but only 8 are files.  The rest are 
links.  After stripping, this is a total of 128K.

Does this look like the right approach?

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to