[Bug 858] New: chapter 5 build of bzip2 is dynamically linked and fails in chroot chapter 6

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Wed Jun 23 07:11:13 PDT 2004


           Summary: chapter 5 build of bzip2 is dynamically linked and fails
                    in chroot chapter 6
           Product: Linux From Scratch
           Version: 5.1.1
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: krystopher at krystopher.com
         QAContact: lfs-book at linuxfromscratch.org

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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the lfs-book mailing list