Hi,
I've been sailing through the LFS book, having no problems, and suddenly
encountered an issue in *6.24*. I did some Googling, enough to see that
this has been an issue in the past -- but I did not find a solution.
*What's happening:*
root:/sources# bunzip2 sed-4.2.2.tar.bz2
bunzip2: error while loading shared libraries: libbz2.so.1.0: cannot open
shared object file: No such file or directory
*bzip2 portion of command history:*
246 gunzip bzip2-1.0.6.tar.gz
247 tar xf bzip2-1.0.6.tar
248 cd bzip2-1.0.6
249 patch -Np1 -i ../bzip2-1.0.6-install_docs-1.patch
250 sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile
251 sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile
252 make -f Makefile-libbz2_so
253 make clean
254 make
255 make PREFIX=/usr install
256 cp -v bzip2-shared /bin/bzip2
257 cp -av libbz2.so* /lib
258 ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
259 rm -v /usr/bin/{bunzip2,bzcat,bzip2}
260 ln -sv bzip2 /bin/bunzip2
261 ln -sv bzip2 /bin/bzcat
*ldd output:*
root:/sources# ldd /lib/libbz2.so.1.0
linux-vdso.so.1 (0x00007fff82182000)
libc.so.6 => /lib/libc.so.6 (0x00007f812e2aa000)
/lib64/ld-linux-x86-64.so.2 (0x00007f812e85e000)
I checked the thirteen commands issued in the bzip2-1.0.6 directory, and
they match the book (I copied and pasted).
Let me know what else I might provide to help troubleshoot this. Thanks!
Glenn
<http://projecteuler.net/profile/gbecker.png>
--
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