I am using 6.1.1. /usr/lib/libz.a is not present.
Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dan Nicholson Sent: Thursday, April 06, 2006 5:46 PM To: LFS Support List Subject: Re: Compile problem with module-init-tools On 4/6/06, Parker, Chris <[EMAIL PROTECTED]> wrote: > Up until now, I have been cruising along. I am on step 6.50 and am getting a > compile error trying to make module-init-tools-3.1. The error is: > > gcc -g -O2 -Wunused -Wall -o lsmod lsmod.o -Wl,-Bstatic -lz -Wl,-Bdynamic > /usr/bin/ld: cannot find -lz > collect2: ld returned 1 exit status > make: *** [lsmod] Error 1 First, what version of the book are you using? Is /usr/lib/libz.a present? If so, what's the output of this command: /usr/bin/ld --verbose | grep SEARCH_DIR -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
