I did figure out what I did wrong - this was a consequence of not deleting source directories after chapter 5. I had to rebuild GCC to fix the error and ended up reformatting and rebuilding due to other errors.
And I was using tar xvf - I had deleted the /tools directory. My statement that I was in Chpt. 6 was erroneous. On Sep 1, 2016 3:27 PM, "Ken Moffat" <[email protected]> wrote: > On Wed, Aug 31, 2016 at 08:14:32PM -0700, The Portaller wrote: > > I'm in Chapter 6, and every time I attempt to bunzip2 anything, I get the > > error 'bzip2: error while loading shared libraries: libbz2.so.1.0: cannot > > open shared object file: No such file or directory'. I've tried making a > > symlink from /lib/libbz2.so.1.0 to /usr/lib/libbz2.so.1.0, but it still > > gave me the error. I tried removing all the bzip2 files from /usr/bin, > > /bin, /lib, and /usr/lib and reinstalling, but it doesn't seem to be > > helping. No deviations from the book, host is Slackware 14.2 x86_64 MATE > > Live. Book version 7.10 RC1. > > From experience, "No deviations from the book" means "I don't think > I did anything different", so we treat it with a (big) pinch of > salt. > > I don't have a completed /tools handy (I always delete it after > booting), but in the bzip2 page we copy *all* the solibs to /lib. > And then we symlink /usr/lib/libbz2.so to the versioned libbz2.so.1 > in /lib - so after that the versioned variants in /usr/lib should > link to /usr/lib/libbz2.so, and from there through the .so.1 in /lib > to (I assume) /lib/libbz2.so. > > Use 'file' on all your libbz2.so* files in /lib and /usr/lib and you > should be able to see where the linkage trail breaks in your case. > Then compare your command history to what the book says. > > It's interesting that you noticed this - most people use tar -xf on > a .bz2 tarball (or -xvf) and in that case the version of bunzip2 > from /tools would be used where /usr/bin/bunzip2 is broken. > > ĸen > -- > `I shall take my mountains', said Lu-Tze. `The climate will be good > for them.' -- Small Gods > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > Do not top post on this list. > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > http://en.wikipedia.org/wiki/Posting_style >
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
