﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
858	chapter 5 build of bzip2 is dynamically linked and fails in chroot chapter 6	krystopher@…	lfs-book@…	"Hi, 
 
This is my first bug report ever, so my apologies if it is low quality. 
 
I am building LFS 511 and the instructions for building bzip2 in chapter 5 
resulted in a dynamically linked bzip2 (""file bzip2"" says so).  This results in 
bzcat failing when at the make devices step in chapter 6. 
 
I don't know how reproducable it is for others but I've recompiled several 
times and always got the dynamically linked bzip2. 
 
The solution I found was to build bzip2 with ""make LDFLAGS=-static 
PREFIX=/tools install"" but the LDFLAGS option is not in the LSF instructions. 
 
My base system is Debian Unstable if that helps.   
 
It seems to me that including the LDFLAGS as the default instructions in the 
book, even if unnecessary in most cases, adds a bit of certainty and can't 
really hurt. 
 
Anyway, I just wanted the LFS maintainers to be aware of this.  Feel free to 
contact me if you need more info.   
 
Thanks for LFS, its great and I'm learning tons. 
 
Krys Wilken"	defect	closed	lowest		Book	5.1.1	normal	invalid		
